-
Notifications
You must be signed in to change notification settings - Fork 14
Issue with installing Ansible RM to integrate with Kafka in ICP #83
Comments
ansible-RM can be configured using the config.yml settings.
The host name mappgin can be set in the docker-compose file:
However you should not connect to individual kafka container replicas on ALM on ICP. ALM defines a kafka service (default port is 9092) which should be used. |
I have an Ingress created as below: [root@icpdevmaster01 ingress]# kubectl get ingress -n time-alm apiVersion: extensions/v1beta1
Is this correct? |
I understand that kube ingress objects route HTTP(S) traffic only. Maybe this thread helps: kafka issue on kubernetes |
Elsewhere we define a comma separated list of master node IPs and ports representing the Kafka |
Yes in the config.yml you can set for example:
|
Hi Jochen, When I do a simple grep, there are 4 files where this 9092 is mentioned (as below). You mentioned above about config.yml only (to change the port to other than default 9092), should be leave the others as it is or should we change that as well)? /ansible-adaptor/config.yml |
Also if I update config.yml as below driver: How would the alm-ansible-rm-docker-compose.yml for below looks like?
|
setting, |
We successfully tested here this setup (ALM 2.02, ARM latest from master): On ICP we applied:
set advertised listener as master node:
This gives you one kafka entrypoint. Load balancing is done by ICP. |
- Kafka properties added to OS environment vars - supports list of kafka brokers now
ALM 2.02 is a typo, should read ALM 2.0.0 |
The configuration for Ansible RM only takes in kafka hostname.
And it assumes the port is fixed at 9092
When installed on ICP, there are 3 instance of Kafka, and the port exposed are different.
How can we make the Ansible RM work with thus?
The text was updated successfully, but these errors were encountered: