Skip to content

Commit b600411

Browse files
committed
Connect REST now listens on all interfaces
1 parent 9a71522 commit b600411

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vagrant/ansible-playbook_import_kafka_connect_rest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
###
22
### Set up Kafka Connect Distributed
33

4-
- hosts: kafka_worker_nodes
4+
- hosts: kafka_brokers,kafka_worker_nodes
55
remote_user: vagrant
66
become: true
77
become_user: root

vagrant/roles/role_kafka_connect_rest/templates/kafka/connect-distributed.properties.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ client.id={{ kafka_service_ip_address }}
2626

2727

2828
# A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.
29-
bootstrap.servers={{ kafka_rest_bootstrap_servers }}
29+
bootstrap.servers={{ kafka_bootstrap_servers }}
3030

3131
# unique name for the cluster, used in forming the Connect cluster group. Note that this must not conflict with consumer group IDs
3232
group.id={{ kafka_connect_group_id }}
@@ -74,7 +74,7 @@ offset.flush.interval.ms=10000
7474

7575
# These are provided to inform the user about the presence of the REST host and port configs
7676
# Hostname & Port for the REST API to listen on. If this is set, it will bind to the interface used to listen to requests.
77-
rest.host.name={{ kafka_service_ip_address }}
77+
rest.host.name=0.0.0.0
7878
rest.port={{ port_kafka_connect }}
7979

8080
# The Hostname & Port that will be given out to other workers to connect to i.e. URLs that are routable from other servers.

0 commit comments

Comments
 (0)