Trending questions in Apache Kafka

+1 vote
14 answers

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

To delete all the messages from a Kafka topic.  There are many approach ...READ MORE

Jun 19, 2020 in Apache Kafka by PAWAN
• 380 points
229,699 views
+1 vote
2 answers

How to check Kafka version?

Hi@akhtar, Actually, in kafka there is no command ...READ MORE

Feb 10, 2020 in Apache Kafka by MD
• 95,460 points
47,930 views
0 votes
1 answer

How to list all Kafka topics?

Hi@akhtar, Kafka uses ZooKeeper, so you need to ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
12,035 views
0 votes
0 answers

zookeeper service is not started properly

Getting below warning in zookeeper log 2021-02-19 14:20:27,911 ...READ MORE

Feb 19, 2021 in Apache Kafka by anonymous
• 120 points
1,716 views
+1 vote
1 answer

What is the importance of Kafka bootstrap.servers?

Hi@akhtar, Bootstrap.servers is a mandatory field in Kafka ...READ MORE

Feb 11, 2020 in Apache Kafka by MD
• 95,460 points
17,774 views
+2 votes
9 answers

Writing the Kafka consumer output to a file

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

Dec 7, 2018 in Apache Kafka by Harsh
38,770 views
0 votes
1 answer

How to know leader information in kafka?

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

Feb 10, 2020 in Apache Kafka by MD
• 95,460 points
16,690 views
0 votes
1 answer

How to change the data directory in Zookeeper?

Hi@akhtar, You can change the default directory in ...READ MORE

Dec 8, 2020 in Apache Kafka by MD
• 95,460 points
3,154 views
0 votes
1 answer

How to start Zookeeper service?

Hi@akhtar, Before you start the Zookeeper service, you need ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
2,586 views
+1 vote
3 answers

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

I just would like to complete the ...READ MORE

Dec 4, 2020 in Apache Kafka by Tamás
• 140 points
8,838 views
0 votes
1 answer

How to stop zookeeper service?

Hi@akhtar, You can find one script in the ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
1,810 views
0 votes
1 answer

How to create a Kafka topic in a broker?

Hi@akhtar, To create a Kafka topic, you need ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
1,643 views
0 votes
1 answer

What is a broker in Kafka Cluster?

Hi@akhtar, A Kafka broker receives messages from producers and stores ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
1,640 views
+1 vote
1 answer
0 votes
1 answer

How to start Kafka server?

Hi@akhtar, You need the start your zookeeper service ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
1,135 views
0 votes
1 answer

How to configure zookeeper for Kafka?

Hi@akhtar, It is a must to set up ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
1,107 views
0 votes
1 answer

How to create a Kafka producer?

Hi@MD, Generally, Kafka producer comes from an API. ...READ MORE

Dec 7, 2020 in Apache Kafka by akhtar
• 38,260 points
828 views
0 votes
1 answer

How to start a consumer in Kafka cluster?

Hi@akhtar, In Kafka, each topic is divided into a ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
802 views
0 votes
1 answer

What is a producer in Kafka Cluster?

Hi@akhtar, The Kafka producer is conceptually much simpler than the ...READ MORE

Dec 7, 2020 in Apache Kafka by MD
• 95,460 points
772 views
+1 vote
1 answer

ERROR Unexpected exception, exiting abnormally (org.apache.zookeeper.server.ZooKeeperServerMain) java.net.BindException: Address already in use

Hi@akhtar, Here the zookeeper service is already started ...READ MORE

Feb 5, 2020 in Apache Kafka by MD
• 95,460 points
12,400 views
0 votes
1 answer

How to consume the consumed message from the kafka topic based on offset ? please provide example in confluent_kafka python

Hi@Amit, You can pass --offset keyword in your ...READ MORE

Aug 10, 2020 in Apache Kafka by MD
• 95,460 points
3,971 views
0 votes
1 answer

ERROR tool.BaseSqoopTool: Error parsing arguments for import:ERROR tool.BaseSqoopTool: Unrecognized argument: -topic

Hi@oguzhan, I have checked the Sqoop document, but ...READ MORE

Sep 7, 2020 in Apache Kafka by MD
• 95,460 points
1,183 views
+1 vote
1 answer

Kafka consumer not able to start reading messages from the last uncommitted offsets

Hi@prasant, I am not sure it will work ...READ MORE

Feb 18, 2020 in Apache Kafka by MD
• 95,460 points
9,726 views
0 votes
2 answers

Is there any Web UI for kafka?

Yes. There is one Tool Name Called ...READ MORE

Mar 14, 2020 in Apache Kafka by Sagar
4,580 views
0 votes
1 answer

Caused by: org.apache.kafka.connect.errors.DataException: Converting byte[] to Kafka Connect data failed due to serialization error:

Hi@akhtar, To fix the pipeline, you need to resolve ...READ MORE

Apr 3, 2020 in Apache Kafka by MD
• 95,460 points
5,398 views
0 votes
1 answer

How can I connect aws lambda and kafka ?

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

May 4, 2020 in Apache Kafka by MD
• 95,460 points
3,760 views
0 votes
1 answer

How to check pending messages in KAFKA topic?

kafka-run-class.bat kafka.tools.ConsumerOffsetChecker --broker-info --group test-consumer-group --topic test ...READ MORE

May 29, 2020 in Apache Kafka by chandra
11,124 views
0 votes
1 answer

org.apache.kafka.common.config.ConfigException: Missing required configuration "bootstrap.servers" which has no default value.

Hi@akhtar, In your file bootstrap.servers field in missing. ...READ MORE

Feb 10, 2020 in Apache Kafka by MD
• 95,460 points
7,340 views
0 votes
2 answers

How to installed confluent kafka in our system?

Easy Approach is work with Docker. ConfluentInc ...READ MORE

Jun 18, 2020 in Apache Kafka by PAWAN
• 380 points
3,161 views
0 votes
1 answer

Kafka SASL/SCRAM

Hi@progDuck, By default it is connecting to localhost:2181, ...READ MORE

Jun 5, 2020 in Apache Kafka by MD
• 95,460 points
2,096 views
0 votes
0 answers

Kafka SASL/SCRAM

Already that day in a row I ...READ MORE

Jun 4, 2020 in Apache Kafka by progDuck
• 140 points
2,127 views
0 votes
1 answer

How to read batch messages in confluent-kafka-python?

Hi@akhtar, You have to read the messages normally ...READ MORE

Apr 3, 2020 in Apache Kafka by MD
• 95,460 points
4,587 views
0 votes
1 answer

error during KafkaServerStartable startup. Prepare to shutdown (kafka.server.KafkaServerStartable)

Hi@akhtar, This error occurs because zookeeper is running already. So ...READ MORE

Mar 31, 2020 in Apache Kafka by MD
• 95,460 points
4,490 views
0 votes
2 answers

How can I create multiple consumers in apache kafka?

First of all, Consumer is not thread ...READ MORE

Jun 18, 2020 in Apache Kafka by PAWAN
• 380 points
3,638 views
0 votes
1 answer

Error: pass --path /path/to/confluent flag or set environment variable CONFLUENT_HOME

Hi@akhtar, Before starting confluent kafka in your system, ...READ MORE

Apr 3, 2020 in Apache Kafka by MD
• 95,460 points
3,935 views
0 votes
2 answers

Kafka Consumer is not throwing errors even though if i provide wrong broker details in Java Standalone

Please delete all log files. Reason behind, ...READ MORE

Jun 18, 2020 in Apache Kafka by PAWAN
• 380 points
776 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

May 13, 2020 in Apache Kafka by MD
• 95,460 points
1,720 views
0 votes
2 answers

Not able to start Kafka service

If your service, in this case kafka, ...READ MORE

May 10, 2019 in Apache Kafka by Novice
19,092 views
0 votes
1 answer

How to install sbt in Redhat/CentOs??

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

Feb 10, 2020 in Apache Kafka by MD
• 95,460 points
5,493 views
+1 vote
0 answers

how to delete the topic in kafka

How to stop Kafka server from crashing ...READ MORE

May 13, 2020 in Apache Kafka by sreeveena
• 150 points
1,479 views
0 votes
1 answer

Error: kafka/Kafka : Unsupported major.minor version 52.0

Hi@akhtar, As the above error shows that the ...READ MORE

Mar 31, 2020 in Apache Kafka by MD
• 95,460 points
2,975 views
0 votes
1 answer

What is the meaning of retries in Kafka Producer API?

Hi@akhtar, It defines how many time the producer ...READ MORE

Feb 11, 2020 in Apache Kafka by MD
• 95,460 points
4,439 views
0 votes
1 answer

[Mac] Writing the Kafka consumer output to a CSV file

Hi@ I don't know it will work or ...READ MORE

Feb 18, 2020 in Apache Kafka by MD
• 95,460 points
4,142 views
0 votes
1 answer

How to write output from Kafka to S3 using a Confluent S3 connector?

Hi@akhtar, To do this task you have to ...READ MORE

Apr 3, 2020 in Apache Kafka by MD
• 95,460 points
1,897 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

Apr 13, 2020 in Apache Kafka by MD
• 95,460 points
1,368 views
0 votes
1 answer

Missing required argument "[zookeeper]"

Hi@akhtar, I guess you are using the old ...READ MORE

Feb 10, 2020 in Apache Kafka by MD
• 95,460 points
3,283 views
0 votes
1 answer

How to implement parallel read in a single application?

Hi@akhtar, To read parallel we have to create ...READ MORE

Feb 11, 2020 in Apache Kafka by MD
• 95,460 points
1,785 views
0 votes
1 answer

How to create Kafka consumer API?

Hi@akhtar, If you know the kafka producer API ...READ MORE

Feb 11, 2020 in Apache Kafka by MD
• 95,460 points
1,566 views
0 votes
1 answer

What is the use of acts configuration in Kafka Producer API?

Hi@akhtar, The acts configuration is used to configure ...READ MORE

Feb 11, 2020 in Apache Kafka by MD
• 95,460 points
1,496 views