How to implement parallel read in a single application?

0 votes

Hi,

In kafka I created multiple consumers. Now I want to read data from a single application. How can all the consumers read data at a same time?

Thank You

6 days ago in Apache Kafka by akhtar
• 1,440 points
22 views

1 answer to this question.

0 votes

Hi@akhtar,

To read parallel we have to create a group of all the consumers. Each consumer can read individual partitions. The maximum no of consumers should be <= no. of partitions. But if no of consumers more than the partitions no. then other consumer can not able to read anything.

Thank You

answered 6 days ago by MD
• 2,750 points

Related Questions In Apache Kafka

0 votes
1 answer

How to delete a topic in Kafka 0.8.1.1?

Deleting topic isn't always working in 0.8.1.1 Deletion ...READ MORE

answered Sep 4, 2018 in Apache Kafka by nitinrawat895
• 10,840 points
319 views
0 votes
1 answer

Is there any change in consumer offsets if a new partition(s) is added to a Kafka topic?

Yes, it stays the same. An offset is ...READ MORE

answered Jul 9, 2018 in Apache Kafka by nitinrawat895
• 10,840 points
460 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,370 points
508 views
0 votes
1 answer

Explain to me the functionality of Kafka in a Big-Data Cluster

Let me explain to you about Apache ...READ MORE

answered Apr 30, 2019 in Apache Kafka by ravikiran
• 4,600 points
164 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
10,018 views
0 votes
1 answer

How to reset the offset of messages consumed from Kafka?

The reset option only prints the result ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,370 points
3,770 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
61,824 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
196 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
• 2,750 points
24 views
0 votes
1 answer

How to install sbt in Redhat/CentOs??

Hi@akhtar, To install sbt in your RedHat system ...READ MORE

answered Feb 10 in Apache Kafka by MD
• 2,750 points
12 views