Created
September 21, 2023 23:51
-
-
Save hodrigohamalho/d2dba6eacac7b894eb63f3e390fab657 to your computer and use it in GitHub Desktop.
amq_streams_zookeeper.properties
This file contains hidden or 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
[ec2-user@ip-10-0-6-42 ~]$ cat /etc/amq_streams_zookeeper.properties | |
# Ansible managed | |
# 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. | |
# the directory where the snapshot is stored. | |
dataDir=/var/lib/amq_streams_zookeeper/ | |
# the port at which the clients will connect | |
clientPort=2181 | |
# disable the per-ip limit on the number of connections since this is a non-production config | |
maxClientCnxns=0 | |
# Enable command list - https://zookeeper.apache.org/doc/r3.5.5/zookeeperAdmin.html | |
4lw.commands.whitelist=stat,dump | |
# Disable the adminserver by default to avoid port conflicts. | |
# Set the port to something non-conflicting if choosing to enable this | |
admin.enableServer=true | |
admin.serverPort=8080 | |
# Amount of time to allow followers to connect and sync to the cluster leader. | |
# The time is specified as a number of ticks | |
initLimit=5 | |
# Amount of time for which followers can be behind the leader. | |
# The time is specified as a number of ticks | |
syncLimit=2 | |
# List of servers which should be members of the Zookeeper cluster. | |
server.1=ip-10-0-6-42.us-east-2.compute.internal:2888:3888:participant;ip-10-0-6-42.us-east-2.compute.internal:2181 | |
server.2=ip-10-0-8-190.us-east-2.compute.internal:2888:3888:participant;ip-10-0-8-190.us-east-2.compute.internal:2181 | |
server.3=ip-10-0-15-152.us-east-2.compute.internal:2888:3888:participant;ip-10-0-15-152.us-east-2.compute.internal:2181 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment