kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mudit Agarwal <mudit...@yahoo.com.INVALID>
Subject Re: Kafka Kerberos Ansible
Date Mon, 06 Mar 2017 22:02:16 GMT
thanks Le.However my cluster is kerberized.

      From: Le Cyberian <lecyberian@gmail.com>
 To: Mudit Agarwal <muditcse@yahoo.com> 
 Sent: Monday, 6 March 2017 9:24 PM
 Subject: Re: Kafka Kerberos Ansible
Hi Mudit,

I guess its more related to Ansible rather than Kafka itself, However i
will try to answer.

Since Ansible uses SSH and you already have passwordless ssh between
ansible host (which executes playbooks) to Kafka Cluster.

You can simply use ansible command or shell module to get the list of
topics available in the respective group.

For example: bin/kafka-consumer-groups.sh --new-consumer --describe --group
default --bootstrap-server localhost:9092

You can use above to get list of topics available along with some lag which
it might be behind if processing the pipeline.

I am not sure how listing topics would help you in your ansible role/task,
maybe you are using assert or something else to check something.



On Mon, Mar 6, 2017 at 9:57 PM, Mudit Agarwal <muditcse@yahoo.com> wrote:

> Let me reframe the questions.
> How can i list the topics using ansible script from ansible host which is
> outside the kafka cluster.
> My kafka cluster is kerberized.
> Kafka and ansible are passwordless ssh.
> Thanks,
> Mudit
> ------------------------------
> *From:* Le Cyberian <lecyberian@gmail.com>
> *To:* users@kafka.apache.org; Mudit Agarwal <muditcse@yahoo.com>
> *Sent:* Monday, 6 March 2017 6:46 PM
> *Subject:* Re: Kafka Kerberos Ansible
> Hi Mudit,
> What do you mean by accessing Kafka cluster outside Ansible VM ? It needs
> to listen to a interface which is available for the network outside of the
> VM
> BR,
> Lee
> On Mon, Mar 6, 2017 at 7:42 PM, Mudit Agarwal <muditcse@yahoo.com.invalid>
> wrote:
> Hi,
> How we can access the kafka cluster from an outside Ansible VM.The kafka
> is kerberiszed.All linux environment.
> Thanks,Mudit

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message