Ansible - KAFKA Integration

Hello,

I understand we can install/deploy KAFKA using Ansible (Playbook). I am not sure if Ansible can be used as a PULL mechanism for fetching KAFKA (Consumer) Topic on quick interval like every 15 mins.

Thanks,
Madhan

This is an extremely interesting question. Although ansible is designed to work in push mode, would be possible to push the payload to a queue so an ansible agent subscribed to that queue can fetch that later on?

Thanks,

There is ansible-pull command if your concern is about pull strategy
https://docs.ansible.com/ansible/latest/cli/ansible-pull.html

Yes and No,

AFAIK ansible-pull works by pointing out to a vcs repo where playbooks exist. I was thinking on something slightly different, instead of pulling playbooks so they can be applied locally, pulling the payload that is sent from a controller machine to a queue. Does that make sense?