Skip to content

Tag: apache-kafka

Executing simple kafka producer program in java

I’ve setup kafka in my google cloud instance, and was able to run the commands for producer and consumer creation successfully. Now I’m trying to run this simple kafka producer code in java, however I’m not able to successfully execute the code after compilation. For compilation, works perfe…

Error while uploading to S3 from Hadoop using s3a

I am running a java application on kubernetes which upload multiple files from local container to s3 bucket using s3a, but I am getting the below exception in logs and files are not getting uploaded to s3. Partial files are getting uploaded to s3 Answer Looks like this is a bug. problems caused by AWS SDK cla…

Kafka – Re-process messages in topics

I have a Kafka cluster. At this moment just for testing, there is only one topic and to this topic, 1 consumer is taking the same messages from the topic and processing, and storing them on the database. But, if I have any problem storing on the database and throw an exception, for example, a PersistenceExcep…