Skip to content

Commit

Permalink
Added kafka listener in server.properties
Browse files Browse the repository at this point in the history
Advertised listener added for kafka connectivity after bootstrap server connection is established.
  • Loading branch information
akulavasu authored Dec 20, 2023
1 parent 49d7f23 commit f3a7c66
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
{%- if url_host == ansible_fqdn or url_host in ansible_all_ipv4_addresses -%}
broker.id={{loop.index0 + 1}}

# Kafka connection string
advertised.listeners=PLAINTEXT://{% for host in groups['zookeeper'] %}{{ hostvars[host].inventory_hostname }}:{{kafka_port}}{% if not loop.last %},{% endif %}{% endfor %}

############################# Socket Server Settings #############################

# The port the socket server listens on
Expand Down

0 comments on commit f3a7c66

Please sign in to comment.