Trending questions in Apache Kafka

+1 vote
13 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 in Apache Kafka by Pawan
• 380 points
120,527 views
+1 vote
2 answers

How to check Kafka version?

Try This Command >>>> This will work ...READ MORE

Aug 10 in Apache Kafka by Ashish Kumar
12,365 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 in Apache Kafka by MD
• 66,180 points
101 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 in Apache Kafka by MD
• 66,180 points
348 views
+1 vote
2 answers

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

At present, There is no any alternative ...READ MORE

Jun 17 in Apache Kafka by Pawan
• 380 points
2,927 views
0 votes
1 answer

Kafka SASL/SCRAM

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

Jun 5 in Apache Kafka by MD
• 66,180 points
368 views
0 votes
1 answer

Kafka SASL/SCRAM

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

Jun 5 in Apache Kafka by MD
• 66,180 points
145 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 17 in Apache Kafka by Pawan
• 380 points
109 views
0 votes
2 answers

Is there any Web UI for kafka?

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

Mar 14 in Apache Kafka by Sagar
377 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 in Apache Kafka by MD
• 66,180 points
4,687 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 in Apache Kafka by MD
• 66,180 points
1,040 views
0 votes
2 answers

How to installed confluent kafka in our system?

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

Jun 17 in Apache Kafka by Pawan
• 380 points
314 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 in Apache Kafka by MD
• 66,180 points
205 views
0 votes
0 answers

how to delete the topic in kafka

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

May 13 in Apache Kafka by sreeveena
• 140 points
134 views
0 votes
2 answers

How can I create multiple consumers in apache kafka?

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

Jun 17 in Apache Kafka by Pawan
• 380 points
1,227 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 in Apache Kafka by MD
• 66,180 points
999 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 in Apache Kafka by MD
• 66,180 points
3,066 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 in Apache Kafka by MD
• 66,180 points
640 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 in Apache Kafka by MD
• 66,180 points
553 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 in Apache Kafka by MD
• 66,180 points
165 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 in Apache Kafka by MD
• 66,180 points
448 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 in Apache Kafka by MD
• 66,180 points
399 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 in Apache Kafka by MD
• 66,180 points
171 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 in Apache Kafka by MD
• 66,180 points
2,206 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 in Apache Kafka by MD
• 66,180 points
1,846 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 in Apache Kafka by MD
• 66,180 points
1,119 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 in Apache Kafka by MD
• 66,180 points
1,198 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 in Apache Kafka by MD
• 66,180 points
912 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 in Apache Kafka by MD
• 66,180 points
784 views
0 votes
1 answer

Missing required argument "[zookeeper]"

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

Feb 10 in Apache Kafka by MD
• 66,180 points
613 views
0 votes
1 answer

I tried to do configration for retation log in kafkA ,BUT kafka broker shuts Down.Is there any solution for that??

Hi@Parth, There are mainly two types of retention ...READ MORE

Feb 18 in Apache Kafka by MD
• 66,180 points
131 views
0 votes
1 answer

How to create Kafka consumer API?

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

Feb 11 in Apache Kafka by MD
• 66,180 points
291 views
0 votes
1 answer

What is the need of serializer in Kafka Producer API?

Hi@akhtar, If we try to use String key ...READ MORE

Feb 11 in Apache Kafka by MD
• 66,180 points
169 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 in Apache Kafka by MD
• 66,180 points
159 views
0 votes
1 answer

How to create kafka producer API?

Hi@akhtar, To create kafka producer API, you can ...READ MORE

Feb 11 in Apache Kafka by MD
• 66,180 points
114 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 in Apache Kafka by MD
• 66,180 points
109 views
0 votes
1 answer

How consumers enter/exit in groups?

Hi@akhtar, Whenever one new consumer comes or leaves ...READ MORE

Feb 11 in Apache Kafka by MD
• 66,180 points
100 views
0 votes
1 answer

[error] /root/kafka-sbt/file.java:5:1: class SimpleProducer is public, should be declared in a file named SimpleProducer.java

Hi@akhtar, This error is not related to sbt. ...READ MORE

Feb 10 in Apache Kafka by MD
• 66,180 points
122 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

Feb 6 in Apache Kafka by MD
• 66,180 points
136 views
0 votes
1 answer

What are the differences between Apache Kafka and RabbitMQ?

Hi@akhtar, Apache kafka and RabitMQ have their own ...READ MORE

Feb 6 in Apache Kafka by MD
• 66,180 points
94 views
0 votes
0 answers

What is the difference between point to point and publish-subscribe messaging system?

Hi, I am new in Kafka. Can anyone ...READ MORE

Feb 6 in Apache Kafka by akhtar
• 28,560 points
75 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 in Apache Kafka by chandra
3,390 views
+3 votes
1 answer

How to install Kafka on Windows System?

These are the steps to install Kafka ...READ MORE

Feb 25, 2019 in Apache Kafka by Ramya
10,414 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

Dec 7, 2018 in Apache Kafka by Harsh
16,746 views
0 votes
2 answers

Not able to start Kafka service

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

May 9, 2019 in Apache Kafka by Novice
5,858 views
0 votes
1 answer

What filter transformation in apache spark?

Hi, Filter() transformation in Apache Spark takes function ...READ MORE

Aug 2, 2019 in Apache Kafka by Gitika
• 41,720 points
163 views
+1 vote
0 answers

The KSQL query PRINT 'Topic' doesn't return a result

when I use the consumer it return ...READ MORE

Jul 1, 2019 in Apache Kafka by salma
232 views
+2 votes
2 answers

Getting error in schema-registry start command

It is working for me with below ...READ MORE

Sep 30, 2019 in Apache Kafka by Brajkishore
• 220 points
1,271 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
332 views