You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Mudit Agarwal <mu...@yahoo.com.INVALID> on 2017/03/06 18:42:38 UTC
Kafka Kerberos Ansible
Hi,
How we can access the kafka cluster from an outside Ansible VM.The kafka is kerberiszed.All linux environment.
Thanks,Mudit
Re: Kafka Kerberos Ansible
Posted by Mudit Agarwal <mu...@yahoo.com.INVALID>.
thanks Le.However my cluster is kerberized.
From: Le Cyberian <le...@gmail.com>
To: Mudit Agarwal <mu...@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.
BR,
Le
On Mon, Mar 6, 2017 at 9:57 PM, Mudit Agarwal <mu...@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 <le...@gmail.com>
> *To:* users@kafka.apache.org; Mudit Agarwal <mu...@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 <mu...@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
>
>
>
>
>
>
>
>
>
Re: Kafka Kerberos Ansible
Posted by Le Cyberian <le...@gmail.com>.
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.
BR,
Le
On Mon, Mar 6, 2017 at 9:57 PM, Mudit Agarwal <mu...@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 <le...@gmail.com>
> *To:* users@kafka.apache.org; Mudit Agarwal <mu...@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 <mu...@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
>
>
>
>
>
>
>
>
>
Re: Kafka Kerberos Ansible
Posted by Mudit Agarwal <mu...@yahoo.com.INVALID>.
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 <le...@gmail.com>
To: users@kafka.apache.org; Mudit Agarwal <mu...@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 <mu...@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
Re: Kafka Kerberos Ansible
Posted by Le Cyberian <le...@gmail.com>.
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 <mu...@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
>
>
>
>