blob: 8f8d7127c11fee425b9792953c95d7212c7d30c5 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
hazelcast:
cluster-name: schema-registry
instance-name: schema-registry
network:
port:
auto-increment: false
port: 5801
map:
schemas:
map-store:
write-delay-seconds: 0
enabled: true
initial-mode: EAGER
factory-class-name: org.apache.rocketmq.schema.registry.storage.jdbc.store.JdbcSchemaMapStoreFactory
properties:
storage.jdbc.type: mysql
storage.jdbc.url: jdbc:mysql://localhost:3306
storage.jdbc.user: root
storage.jdbc.password: root
storage.jdbc.database.name: schema_registry
storage.jdbc.table.name: schema_table
subjects:
map-store:
write-delay-seconds: 0
enabled: true
initial-mode: EAGER
factory-class-name: org.apache.rocketmq.schema.registry.storage.jdbc.store.JdbcSubjectMapStoreFactory
properties:
cache.size: 1000
properties:
hazelcast.invocation.max.retry.count: 20
hazelcast.tcp.join.port.try.count: 30
hazelcast.logging.type: log4j2
hazelcast.operation.generic.thread.count: 100