-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9e88dd
commit 426e7c2
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
playbooks/roles/confluent-community-broker/templates/schema-registry.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# Copyright 2018 Confluent Inc. | ||
# | ||
# Licensed 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. | ||
# | ||
|
||
# The address the socket server listens on. | ||
# FORMAT: | ||
# listeners = listener_name://host_name:port | ||
# EXAMPLE: | ||
# listeners = PLAINTEXT://your.host.name:9092 | ||
listeners=http://0.0.0.0:8081 | ||
|
||
# Zookeeper connection string for the Zookeeper cluster used by your Kafka cluster | ||
# (see zookeeper docs for details). | ||
# This is a comma separated host:port pairs, each corresponding to a zk | ||
# server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002". | ||
kafkastore.connection.url={% for node in groups['kafka-zk-nodes'] %}{{ hostvars[node]['ansible_'~hostvars[node].cluster_interface|default(hostvars[node].ansible_default_ipv4.alias)]['ipv4']['address'] }}:2181{% if not loop.last %},{% endif %}{% endfor %} | ||
|
||
# Alternatively, Schema Registry can now operate without Zookeeper, handling all coordination via | ||
# Kafka brokers. Use this setting to specify the bootstrap servers for your Kafka cluster and it | ||
# will be used both for selecting the master schema registry instance and for storing the data for | ||
# registered schemas. | ||
# (Note that you cannot mix the two modes; use this mode only on new deployments or by shutting down | ||
# all instances, switching to the new configuration, and then starting the schema registry | ||
# instances again.) | ||
#kafkastore.bootstrap.servers=PLAINTEXT://localhost:9092 | ||
|
||
# The name of the topic to store schemas in | ||
kafkastore.topic=_schemas | ||
|
||
# If true, API requests that fail will include extra debugging information, including stack traces | ||
debug=false |