How can I create multiple consumers in apache kafka?

0 votes

Hi,

I have multiple producer in kafka. How can I create multiple consumers?

Thank You

Feb 6 in Apache Kafka by akhtar
• 10,330 points
342 views

1 answer to this question.

0 votes

Hi@akhtar,

If you already created multiple producers then use the bellow command according to your port no.

$ ./bin/kafka-console-consumer.sh --zookeeper localhost:2181 -topic topic-name --from-beginning

Thank You

answered Feb 6 by MD
• 22,520 points

Related Questions In Apache Kafka

+1 vote
1 answer

What is the need of zookeeper in kafka? Can I use kafka without zookeeper?

Hi@akhtar, You can not use kafka without zookeeper. ...READ MORE

answered Feb 6 in Apache Kafka by MD
• 22,520 points
979 views
0 votes
1 answer

How can I connect aws lambda and kafka ?

Hi@Rishabh, I think to implement this task you ...READ MORE

answered May 4 in Apache Kafka by MD
• 22,520 points
47 views
0 votes
1 answer

how can we delete the topic in kafka in kafkatool application ?

Hi@sreeveena, I am not sure but there may be ...READ MORE

answered May 13 in Apache Kafka by MD
• 22,520 points
31 views
0 votes
1 answer

How to commit message offsets in Kafka for reliable data pipeline?

You can use auto.commit.enable to allow Kafka ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,380 points
780 views
0 votes
1 answer

How to know leader information in kafka?

Hi@akhtar, To know leader information you can use ...READ MORE

answered Feb 10 in Apache Kafka by MD
• 22,520 points
278 views
+1 vote
10 answers

Writing the Kafka consumer output to a file

System.out.println(String.valueOf(output.offset()) + ": " + new String(bytes, ...READ MORE

answered Dec 7, 2018 in Apache Kafka by Harsh
12,841 views
+1 vote
12 answers

How can I delete all the messages from a Kafka topic?

As of kafka 2.3.0 version, there is ...READ MORE

answered Sep 8, 2019 in Apache Kafka by Brajkishore
• 240 points
87,048 views
+1 vote
0 answers

Want to delete consumed topic programatically

directly delete kafka log folder and zeekeeper ...READ MORE

Jun 4, 2019 in Apache Kafka by sarvesh
251 views
0 votes
1 answer

How can I create a topic in apache kafka?

Hi@akhtar, To create kafka topic you can use ...READ MORE

answered Feb 6 in Apache Kafka by MD
• 22,520 points
67 views
0 votes
1 answer

How can i connect to an api which gives me weather data to Apache kafka?

Hi, To connect an API in kafka, you ...READ MORE

answered Apr 13 in Apache Kafka by MD
• 22,520 points
66 views