Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
18
22
source
stringclasses
2 values
source_url
stringlengths
49
279
pipeline_layer
stringclasses
2 values
title
stringlengths
15
255
body
stringlengths
21
3k
solution
stringlengths
8
3k
tools_mentioned
stringclasses
186 values
cross_tool
bool
2 classes
tags
stringclasses
557 values
category
stringclasses
4 values
content_type
stringclasses
2 values
score
int64
0
0
views
int64
24
225k
comments_count
int64
0
146
timestamp
stringlengths
24
24
forum
stringclasses
2 values
vendor-confluent-3588
discourse_confluent
https://forum.confluent.io/t/how-should-you-implement-a-retry-delay-queue-using-kafka-topics/3588
streaming
How should you implement a retry/delay queue using Kafka topics?
TLDR; How did you implement a delay/retry queue in Kafka? Has anyone solved the problem of implementing retry/delay functionality in Kafka? Originally I looked at Ubers example ( Uber retry topic ) but I do not want to create n topics and consumers as the overhead would be too much. I essentially want 1 topic to act as...
In our case any there was no concern with the topic partition being blocked due to a retrying message, as subsequent messages would only result in the same retry. e.g. due to the event processing making a REST call to a temporarily unavailable service. The bigger concern for us was to ensure that any retry delays did y...
['kafka']
false
[]
kafka_errors
error
0
34,147
6
2021-12-07T20:02:38.170Z
confluent
vendor-confluent-1794
discourse_confluent
https://forum.confluent.io/t/java-client-timed-out-waiting-for-a-node-assignment/1794
streaming
Java client Timed out waiting for a node assignment
Hi, I have installed Confluent Platform on a Centos7 VM. It works fine from within the VM’s guest OS. Now I want to connect to Kafka through a Java client from the Host OS which is windows 10. However, the connection is timing out. I dont know if its a configuration issue or if its an issue with the VM image. Can you p...
Actually have a relatively same question. No solution found yet. Question: I have created 3 topics as test, test_1 and test_2. While uploading data to topic test is working fine, however application fails to upload data on other topics (test_1 and test_2). Below is the exception : org.apache.kafka.common.errors.Timeout...
['aws', 'python', 'java', 'kafka', 'docker']
true
[]
kafka_errors
error
0
32,336
4
2021-05-17T00:20:52.154Z
confluent
vendor-confluent-4512
discourse_confluent
https://forum.confluent.io/t/connection-to-node-1-localhost-127-0-0-1-9092-could-not-be-established-broker-may-not-be-available/4512
streaming
Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available
I’m running the confluent platform in wsl 2(Ubuntu Distribution) and I also running a Spring application on Windows but when I send a message with a producer I have this error: Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. Bootstrap broker localhost:9092 (id: -1...
With the command ip addr | grep eth0 on Ubuntu terminal I can get external interface IP, I set this IP on advertised.listener and with the command netsh interface portproxy add v4tov4 listenport=9092 listenaddress=0.0.0.0 connectport=9092 connectaddress=XXX.XX.XX.XX being XXX.XX.XX.XX the external interface IP and put ...
['aws', 'python', 'java', 'kafka', 'docker']
true
[]
kafka_errors
error
0
30,900
3
2022-03-21T16:02:01.134Z
confluent
vendor-confluent-5826
discourse_confluent
https://forum.confluent.io/t/unable-to-consume-message-from-topic-getting-error-as-group-authorization-failed/5826
streaming
Unable to consume message from topic getting error as GROUP_AUTHORIZATION_FAILED
Hello Team my confluent kafka cluster is configured in cloud . when i am trying to connect with below details ‘bootstrap.servers’: “cluster bootstapserver”, ‘sasl.mechanisms’: PLAIN, ‘security.protocol’: SASL_SSL ‘sasl.username’: cluster apikey, ‘sasl.password’:cluster PASSWORD, ‘group.id’: str(uuid.uuid1()), # this wi...
Hello Ramesh, Able to resolve this issue? i am struggling with same error and uanble to resolve it from last 3-4 days. Also have created new user for consuming which have all rights but still getting same issue. Your response will be highly appreciated. Thanks.
['kafka']
false
[]
kafka_errors
error
0
24,979
5
2022-08-18T14:30:54.615Z
confluent
vendor-confluent-4069
discourse_confluent
https://forum.confluent.io/t/connector-debezium-sql-failed/4069
streaming
Connector Debezium SQL - Failed
Hello. I installed confluent-7.0.1 following the instructions Quick Start for Confluent Platform | Confluent Documentation Installed by debezium team confluent-hub installs debezium/debezium-connector-sqlserver:1.7.1 and assigned connector { "name": "SqlServer-SQL-TT", "config": { "connector.class": "io.debezium.connec...
hey @Administor did you check SQL Server logfiles? seems to be related to sql server or firewall.
['kafka', 'java', 'jdbc']
true
[]
kafka_errors
error
0
21,811
29
2022-02-02T10:18:44.399Z
confluent
vendor-confluent-868
discourse_confluent
https://forum.confluent.io/t/cleanup-policy-of-compact-and-delete/868
streaming
Cleanup Policy of compact AND delete
Hello, I had a question about having a cleanup policy of compact AND delete. I also asked in the slack channel ( see link ) but no clear result was found. Here is my example topic configuration kafka-topics.sh --describe --bootstrap-server $KAFKA_STAGING --topic my-topic Topic:my-topic PartitionCount:10 ReplicationFact...
Partitions are compacted by the log cleaner thread. Partitions are evaluated for the delete retention setting by the log manager thread. As you suspected, the log manager thread deletes a partition log segment if the newest included message is older than the retention.ms setting. One use case I have seen is where a com...
['kafka']
false
[]
kafka_errors
error
0
19,230
13
2021-02-15T05:59:49.065Z
confluent
vendor-confluent-758
discourse_confluent
https://forum.confluent.io/t/redpanda-console-open-source-web-ui-for-kafka/758
streaming
Redpanda Console - Open Source Web UI for Kafka
Hey, Redpanda Console (previously known as Kowl) is a Web UI, that allows you to explore and find messages in Kafka, provides an overview about topic configuration, consumer groups, brokers etc. It is designed to be hosted by a platform team, so that the initial setup including SASL, TLS etc. only has to be made once f...
Nice! Do you have any plans of adding kSQL console support to it?
['kafka', 'docker']
true
[]
kafka_knowledge
knowledge
0
19,146
10
2021-02-08T10:22:42.300Z
confluent
vendor-confluent-7536
discourse_confluent
https://forum.confluent.io/t/i-want-to-read-just-the-last-newest-message-in-a-kafka-topic/7536
streaming
I want to read just the last (newest) message in a Kafka topic
Hello I want to read just the latest (newest) data (JSON message) from a Kafka topic. I will do that periodically and draw a live chart with this data. I use Confluent.Kafka library for .NET in C#. I am using following code, but I start reading data somewhere from the past (16 hours at least). public void Read_from_Kaf...
I’ve removed my previous answer, it wasn’t correct. All you need to do is use the Consumer.seek method and use the Offset.End to specify the end of the topic partition I would look like this: consumer.Seek(new TopicPartitionOffset("foo", new Partition(1), Offset.End)); HTH
['kafka']
false
[]
kafka_errors
error
0
17,687
2
2023-03-30T11:13:25.922Z
confluent
vendor-confluent-7920
discourse_confluent
https://forum.confluent.io/t/best-way-to-reset-kafka-topic/7920
streaming
Best way to reset Kafka topic
Tried several ways of resetting a Kafka topic: A) briefly setting retention to 1 millisecond - this doesn’t work well until logs are shrunk which by default is something like 60 hours and checking every 5 seconds is very expensive B) delete the topic and create topic again with the same name. There are two ways of doin...
Hi @1stSolo - the second approach of deleting and re-creating a topic will probably be the way to go out of the options you’ve presented here. Another approach would be to version your topic names i.e. topic_name_v1 , then when you want to change, simply create topic_name_v2 and point your clients at the new topic. The...
['kafka']
false
[]
kafka_errors
error
0
17,251
4
2023-05-22T20:04:39.194Z
confluent
vendor-confluent-7965
discourse_confluent
https://forum.confluent.io/t/error-while-publishing-messages-after-adding-new-brokers/7965
streaming
Error while publishing messages after adding new brokers
Hello, Currently we have a 3 node kafka cluster running on kubernetes and now we are planning to increase brokers to 5 due to increasing topics. After adding two more brokers I am getting below error when I try to publish message on partition that is hosted on new brokers. There are no errors in brokers logs or zookeep...
You’ll need to share your k8s configs. As the error says, are you using custom TLS certs that you’ve not distributed to the new brokers?
['kafka', 'kubernetes']
true
[]
kafka_errors
error
0
16,586
2
2023-05-30T07:01:24.130Z
confluent
vendor-confluent-1075
discourse_confluent
https://forum.confluent.io/t/change-zookeeper-user-id-for-kafka-docker-images/1075
streaming
Change zookeeper user id for kafka docker images
I have on-premise openshift container platform in organization on version 3.11. I am trying to run the POD with image confluentinc/cp-zookeeper. But due to restrictions added by Openshift admin, I am not allowed to run pod as a user whose id below 1000000000. The pod logs are as follows - ===> User uid=1001390000 gi...
Hi, there’s already a similiar issue logged in github (with kafka dir not zookeeper) github.com/confluentinc/kafka-images /var/lib/kafka permissions for non-root users opened 12:38PM - 04 Aug 20 UTC tomikmar Original issue here: https://github.com/confluentinc/cp-docker-images/issues/69 … 2 We try to run Kafka as non-r...
['kafka', 'docker']
true
[]
kafka_errors
error
0
15,028
17
2021-03-01T13:13:14.070Z
confluent
vendor-confluent-3711
discourse_confluent
https://forum.confluent.io/t/docker-compose-using-sasl-plaintext-and-scram-sha-256/3711
streaming
Docker Compose using SASL_PLAINTEXT and SCRAM-SHA-256
Hi all! I have a pretty niche setup I need to get going and I have not been able to find any specific documentation/threads that cover it. Hopefully someone out there can help To keep it brief, I am attempting to write a Docker Compose that can spin up 1 Zookeeper with 2-3 Brokers that is using SASL_PLAINTEXT with SCRA...
Hi, did you already consider the examples provided by @vdesabou available at GitHub - vdesabou/kafka-docker-playground: 🐳 Fully automated Apache Kafka® and Confluent Docker based examples especially kafka-docker-playground/environment/sasl-scram at master · vdesabou/kafka-docker-playground · GitHub HTH, Michael
['kafka', 'docker']
true
[]
kafka_errors
error
0
14,803
3
2021-12-21T08:37:53.986Z
confluent
vendor-confluent-919
discourse_confluent
https://forum.confluent.io/t/3rd-party-command-line-tools-for-apache-kafka/919
streaming
3rd party command line tools for Apache Kafka
(See also 3rd party GUI tools for Apache Kafka ) In recent times there’s been a proliferation in CLIs for Apache Kafka, and instead of trawling through Reddit to find the announcements I thought I’d collect them here for reference kaf kafka-shell kafkactl kafkactl kaskade kattlo-cli kcat kcctl kcl kt kukulcan plumber t...
rmoff: pied notes from the project’s github pa Another one! An Apache Kafka REPL: Kukulcan
['kafka', 'docker', 'kubernetes']
true
[]
kafka_knowledge
knowledge
0
14,048
11
2021-02-17T10:19:23.808Z
confluent
vendor-confluent-7321
discourse_confluent
https://forum.confluent.io/t/kafka-server-kafkaserver-kafka-broker-not-starting-programatically-properly-after-upgrade-to-3-4-0/7321
streaming
kafka.server.KafkaServer (Kafka Broker) not starting (programatically) properly after upgrade to 3.4.0
We use Kafka.server.KafkaServer class to programatically start 3 Kafka Brokers to run our integration tests where the micro services send kafka messages and received by the client micro services. Uptill now we were using the Kafka version 2.8.0 version (org.apache.kafka:kafka_2.12:2.8.0) and the brokers were running ju...
Hi @kashyap2011.mk and welcome! I believe that the scaladoc is all that gets published. A lot has changed – you can compare 2.8 broker configs to 3.4’s . The things that jump out at me to try are (a) remove advertised.port since it was deprecated in 2.8 and removed in 3.4, and (b) configure zookeeper.connect which defa...
['kafka', 'java']
true
[]
kafka_errors
error
0
13,889
13
2023-03-01T11:18:21.999Z
confluent
vendor-confluent-7350
discourse_confluent
https://forum.confluent.io/t/schema-registry-fails-to-start/7350
streaming
Schema Registry fails to start
Im using Confluent kafka 6.1.0 with JDK 8 and trying to start the services with confluent local services start but getting “Schema Registry failed to start” with the error: io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryInitializationException: io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryTime...
Can you please ensure connectivity to Kafka Brokers? Also can you please validate kafkastore.bootstrap.servers points to the correct broker address?
['kafka']
false
[]
kafka_errors
error
0
13,584
13
2023-03-06T03:55:02.172Z
confluent
vendor-confluent-6565
discourse_confluent
https://forum.confluent.io/t/kafka-consumers-stop-reading-messages-from-a-topic/6565
streaming
Kafka consumers stop reading messages from a topic
We are testing a set of 50 Kafka adapter consumers which pull messages from topic-A and direct them to a TCP port. Then, in a separate process, a single Kafka adapter producer pulls those messages from the port and writes them to topic-B. All the adapters are built with Camel Kafka on a Spring framework. The Kafka brok...
Increasing the value of “max.poll.interval.ms” and decreasing the value of “max.poll.records” in the consumer configurations overcame the offset commit errors. Thanks!
['kafka']
false
[]
kafka_errors
error
0
13,604
1
2022-11-20T06:53:47.231Z
confluent
vendor-confluent-7030
discourse_confluent
https://forum.confluent.io/t/java-heap-space-error/7030
streaming
Java Heap Space Error
Hi, Good day! I encountered an error below while creating a topic. NOTE: zookeeper and kafka are SSL enabled [rhel@kafkanode1 bin]$ /home/rhel/confluent-6.0.5/bin/kafka-topics --bootstrap-server kafkanode1.localdomain:9092 \ > --create \ > --topic test1 \ > --partitions 1 \ > --replication-factor 1 [2023-01...
Could it actually be a memory issue? Are you running in a VM with low memory allocated? Perhaps you can give a bit more info about your environment. Just not a lot to go on with that stacktrace.
['kafka', 'java']
true
[]
kafka_errors
error
0
13,392
7
2023-01-17T08:37:40.465Z
confluent
vendor-confluent-6240
discourse_confluent
https://forum.confluent.io/t/unable-to-reset-offset-for-a-single-partition/6240
streaming
Unable to reset offset for a single partition
Hello everyone, I’m fighting with trying to reset the offset for a single partition. I have a cluster that has a “state” topic with two partitions. I start the cluster with a single consumer and it gets assigned both partitions. I then add another consumer and they correctly get assigned a partition each, I’m using the...
Hi Simeon! What’s Happening auto.offset.reset has some annoying nuances… and it doesn’t always do what you think it should do. When the consumers start up, they first look at their committed offsets and will use that offset as a bookmark from which to begin processing. In the event that there is not an offset present –...
['kafka']
false
[]
kafka_errors
error
0
13,332
5
2022-10-11T07:25:39.648Z
confluent
vendor-confluent-6740
discourse_confluent
https://forum.confluent.io/t/resetting-the-last-seen-epoch-of-partition/6740
streaming
Resetting the last seen epoch of partition
Hi, we use version 1 of Kafka Mirror Maker to mirror data between systems. I am aware that there is now a version 2, but version 1 is a solid piece of software that does exactly what we need. We use Kafka Server verison 2.6.x at the moment. However, after updating from Kafka 2.7.x to Kafka 3.3.1 (on the dedicated clien...
These are INFO messages logged in the producer log. Sample log message as below. 2023-05-05 09:26:29.477 INFO 1 — [ad | producer-1] org.apache.kafka.clients.Metadata : [Producer clientId=producer-1] Resetting the last seen epoch of partition topic.name-0 to 6 since the associated topicId changed from null to 6zB3byhITI...
['kafka']
false
[]
kafka_errors
error
0
13,328
1
2022-12-01T15:04:02.060Z
confluent
vendor-confluent-603
discourse_confluent
https://forum.confluent.io/t/backing-up-the-kafka-cluster-data/603
streaming
Backing up the Kafka cluster data
Hi Kafkadmins! I have a simple question - what options exist out there to backup and restore the data in our Kafka clusters ? Is creation of replica cluster the recommended (as it is mentioned in the official docs ) and the only way to backup data in the topics? Or are there already some other, probably third-party opt...
At the moment I am using the latter approach with bind volumes in a Container going to a host mounted network share, which is then backed up or a regular basis, runs on RAID etc. The one downside I see in this is that if there is a catastrophic failure, there won’t be automatic fail-over to some other replica and any r...
['kafka']
false
[]
kafka_errors
error
0
12,870
10
2021-02-04T09:35:09.150Z
confluent
vendor-confluent-8863
discourse_confluent
https://forum.confluent.io/t/self-hosted-kafka-with-kraft-ssl-and-sasl-scram-sha-256/8863
streaming
Self-hosted Kafka with KRaft, SSL and SASL (scram-sha-256)
Hello, I’m building a fresh Kafka cluster, and I’m stuck with getting SASL_SSL working with SCRAM-SHA-256, in KRaft mode. I’ve tried v3.5.1 and v3.6.0 from tarball from Apache website (with binary built on on Scala 2.13), and RPM confluent-server-7.5.0. Both Kafka servers produce the same error on each host when I star...
Hi I have more or less the same problem. Have tried to create a Kafka setup using Docker and SASL_PLAINTEXT with SCRAM-SHA-256. It works for me if I only start a single broker, but if I start a 3 node cluster, I get the same error. It works if I change the controller to use PLAINTEXT/PLAIN. listener.security.protocol.m...
['kafka', 'docker']
true
[]
kafka_errors
error
0
12,726
7
2023-10-12T11:37:49.715Z
confluent
vendor-confluent-4601
discourse_confluent
https://forum.confluent.io/t/kafkaconnect-with-amazon-sink-s3-sink-connect-is-not-working/4601
streaming
KafkaConnect with Amazon Sink S3 Sink Connect is not working
Hi Team, I am using Strimzi Kafka inside my K8s cluster and I want to use KafkaConnect to archive my topics data to S3 bucket. So I created a docker image using the following Dockerfile. Dockerfile : FROM quay.io/strimzi/kafka:0.28.0-kafka-3.1.0 USER root:root COPY ./my-plugins/ /opt/kafka/plugins/ USER 1001 And I down...
subinactive: key.converter: org.apache.kafka.connect.json.JsonConverter key.converter.schemas.enable: false value.converter: org.apache.kafka.connect.json.JsonConverter value.converter.schemas.enable: false subinactive: SerializationException: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'exit': wa...
['aws', 'java', 'kafka', 's3', 'kubernetes', 'docker']
true
[]
kafka_errors
error
0
12,227
12
2022-03-28T02:14:40.583Z
confluent
vendor-confluent-6402
discourse_confluent
https://forum.confluent.io/t/kafka-cluster-with-kraft/6402
streaming
KAFKA cluster with kraft
Hi, team Environment: 2 vm server with confluent-community-7.2.2 ############################################################### => Server 1 : process.roles=broker,controller ip: 10.20.10.4 => Server 2 : process.roles=broker,controller ip: 10.20.10.5 ###############################################################...
I am facing exactly same issue with 3 controller quorum voters. There is one catch, if I race through to start all the three controllers in a few seconds, it works. But starting one controller at a time with a few minutes apart always complain as below: "Shutting down because we were unable to register with the control...
['kafka']
false
[]
kafka_errors
error
0
12,222
5
2022-10-31T20:18:57.665Z
confluent
vendor-confluent-864
discourse_confluent
https://forum.confluent.io/t/databricks-spark-with-schema-registry/864
streaming
Databricks Spark with Schema Registry
Hi there, I’m trying to build Spark based Kafka Producer and Consumer in Databricks that sends and consume Avro data and wanted to use Schema registry url for mapping the Data schema. Unfortunately I’m not able to find some good example on it and need your help on any tested code Scala/Python with Spark. Thanks for you...
Here’s a couple of references that should help: How to Work with Avro, Kafka, and Schema Registry in Databricks schema-registry-integration - Databricks
['kafka', 'python', 'spark']
true
[]
kafka_errors
error
0
12,182
9
2021-02-14T19:49:21.678Z
confluent
vendor-confluent-4574
discourse_confluent
https://forum.confluent.io/t/leader-not-available/4574
streaming
Leader_not_available
When I run the console consume script, the following error message is returned: “Error while fetching metadata with correlation id 2 LEADER NOT AVAILABLE.” Kafka is configured in a three-node cluster configuration. Where do I begin debugging this issue?
Hi @briank welcome first of all I would try to rule out network issues. check if you could reach all kafka cluster nodes via telnet or s.th. like that telnet $public_ip_node_[1-3]:9092 if there’s an issue with one node check on the node: firewall kafka logs kafka config could provide more details if needed. hth, michae...
['kafka']
false
[]
kafka_errors
error
0
11,878
4
2022-03-24T21:40:13.183Z
confluent
vendor-confluent-4231
discourse_confluent
https://forum.confluent.io/t/how-do-i-get-the-the-offset-of-last-message-of-a-kafka-topic-using-confluent-kafka-python/4231
streaming
How do I get the the offset of last message of a Kafka topic using confluent-kafka-python?
I need to retrive last N messages of a topic using confluent-kafka-python . I’ve been reading confluent_kafka API — confluent-kafka 1.9.0 documentation for a day, but no finding any appropriate method for getting the offset of the last message, thus I cannot calculate the offset for consumer to start with. Please help....
Get the high watermarks of each partition you want to consume, then subtract N and seek https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#confluent_kafka.Consumer.get_watermark_offsets
['kafka', 'python']
true
[]
kafka_errors
error
0
11,695
1
2022-02-19T23:21:39.485Z
confluent
vendor-confluent-3704
discourse_confluent
https://forum.confluent.io/t/failed-authentication-due-to-ssl-handshake-failed/3704
streaming
Failed authentication due to: SSL handshake failed
Hi i have an issue on start this command for list topics. zookeeper and kafka seems ok /opt/kafka/bin/kafka-topics.sh --list --bootstrap-server 172.17.0.2:9093 --command-config /opt/kafka/config/client.properties [2021-12-20 16:40:28,231] ERROR [AdminClient clientId=adminclient-1] Connection to node -1 (172.17.0.2/172....
null
['kafka']
false
[]
kafka_errors
error
0
11,433
0
2021-12-20T16:51:24.110Z
confluent
vendor-confluent-5035
discourse_confluent
https://forum.confluent.io/t/slow-performance-on-kafka/5035
streaming
Slow performance on kafka
how is your people performance on kafka ? i have sometimes a high ms on producer on apps like 5-10 sec! this isi internal benchmark im running 3.10 kraft mode k8s 3 node cluster kafka-producer-perf-test.sh --topic test --num-records 1000000 \ --throughput -1 --producer-props bootstrap.servers=localhost:9092 \ batch.siz...
Wow, this is an very low batch.size a very high buffer.memory and ludicrous linger.ms . The latter setting basically allows to wait up to 100 seconds until a batch is full and allocates 4 GB Ram to buffer messages in the meantime. To reduce the maximal latency reducing linger.ms to something like 50 should help a lot. ...
['kafka', 'kubernetes']
true
[]
kafka_errors
error
0
11,163
16
2022-05-10T09:39:06.828Z
confluent
vendor-confluent-3985
discourse_confluent
https://forum.confluent.io/t/kafka-topic-and-tombstone-messages/3985
streaming
Kafka Topic and Tombstone messages
Hello I’ve read that tombstone messages with compaction lead to both the last keyed message and tombstone message both being deleted from a topic, removing ALL messages with the key I was wondering if there is a way to achieve delete without compaction? So a topic would have multiple events/message per key and without ...
What’s the use case you’re trying to solve here? AFAIK what you describe isn’t possible, but if you can give some more context it might be easier for people to suggest a solution.
['kafka']
false
[]
kafka_knowledge
knowledge
0
10,812
6
2022-01-25T12:04:29.856Z
confluent
vendor-confluent-5693
discourse_confluent
https://forum.confluent.io/t/dockerexception-error-while-fetching-server-api-version/5693
streaming
DockerException: Error while fetching server API version
Hi, I am following the getting started example using docker. On windows (10 x64), I created a folder in ‘Documents’ and added the docker-compose.yml file. When I run docker-compose up -d (as an administrator), I get an error: C:\Users\stephen.smith\Documents\Docker Images\Kafka>docker-compose up -d Traceback (most r...
hey, did you try the following: #SharePointProblems – 20 Jul 21 Docker-compose fails on Windows with "Error while fetching server API... This post was most recently updated on June 23rd, 2022. Once again, I come to you with a surprisingly opaque problem and offer to share my bemusingly simple solution. That should be a...
['kafka', 'docker']
true
[]
kafka_errors
error
0
10,554
1
2022-08-04T11:05:56.627Z
confluent
vendor-confluent-4614
discourse_confluent
https://forum.confluent.io/t/debezium-the-db-history-topic-or-its-content-is-fully-or-partially-missing-please-check-database-history-topic-configuration-and-re-execute-the-snapshot/4614
streaming
Debezium: The db history topic or its content is fully or partially missing. Please check database history topic configuration and re-execute the snapshot
Been struggling with this issue for weeks now. Long story short, we try to create a Debezium connector and for various reasons it might fail. This creates an issue when trying to recreate the connector. Subsequent recreates fail with the following exception: The db history topic or its content is fully or partially mis...
Yup. I encountered exactly the same problem when trying out debezium to see if we would use it in production.
['kafka']
false
[]
kafka_errors
error
0
10,005
3
2022-03-28T16:20:30.269Z
confluent
vendor-confluent-10613
discourse_confluent
https://forum.confluent.io/t/difference-between-delete-retention-ms-and-retention-ms/10613
streaming
Difference between delete.retention.ms and retention.ms
Hello! I’m seeing ambiguous information on the actual meaning of these two topic properties. Which is responsible for the actual retention time in a topic, i.e. for how long the messages are stored? Thank you, David
The delete.retention.ms property dictates how long to retain tombstones (special messages with null value signifying deletion) in compacted topics, while retention.ms dictates how long to retain “regular” (non-tombstone) messages in topics that have the delete cleanup.policy set. The topic’s cleanup.policy dictates whi...
['kafka']
false
[]
kafka_knowledge
knowledge
0
9,930
3
2024-05-03T07:27:55.043Z
confluent
vendor-confluent-4258
discourse_confluent
https://forum.confluent.io/t/send-messages-from-one-kafka-topic-to-another/4258
streaming
Send messages from one Kafka topic to another
Dear all, Is it possible to forward messages from one topic to another topic on confluent.cloud? If yes, how can I do this? Example of an use case: I have a DLQ (dead-letter queue) topic and want to move its messages to a retry one. Thank you,
Kafka Streams or ksqlDB is what you’re looking for, I assume
['kafka']
false
[]
kafka_knowledge
knowledge
0
9,868
9
2022-02-22T19:13:54.130Z
confluent
vendor-confluent-4763
discourse_confluent
https://forum.confluent.io/t/error-messages-schema-registry-url-was-supplied-but-isnt-a-known-config/4763
streaming
Error messages 'schema.registry.url' was supplied but isn't a known config
Hi, I’m using kafka-streams and I’m having this warn message in the logs: WARN org.apache.kafka.clients.admin.AdminClientConfig The configuration 'schema.registry.url' was supplied but isn't a known config. WARN org.apache.kafka.clients.consumer.ConsumerConfig The configuration 'schema.registry.url' was supplied but is...
Those WARN are spurious. Nothing to worry about. – It’s a known issue (cf [KAFKA-6793] Unnecessary warning log message - ASF JIRA ). Unfortunately, there is no workaround. You can only ignore those WARN logs.
['kafka']
false
[]
kafka_errors
error
0
9,906
2
2022-04-13T13:52:25.634Z
confluent
vendor-confluent-4351
discourse_confluent
https://forum.confluent.io/t/kafka-does-not-works-through-nat-as-expected/4351
streaming
Kafka does not works through NAT as expected
Hello, There is one scenario that is not achieveable in kafka. There is a setup of three kafka servers in cluster. Kafka Servers has private IPs and is only accessible from its own VPN say KAFKA VPN. There is one public IP that is accessible when machine is connected to KAFKA VPN + Office Netowork. This public IP is on...
First off, welcome to the forum and bravo on a great post with clear details of the problem and even a diagram Let’s address the non-VPN bit to start with, and then I’ll come back to that afterwards. Public IP → NAT → Internal When your external client connects to AA.XX.XX.XX , it is routed by NAT to the internal IP an...
['kafka']
false
[]
kafka_errors
error
0
9,412
3
2022-03-04T06:17:41.661Z
confluent
vendor-confluent-8027
discourse_confluent
https://forum.confluent.io/t/kafkajsonschemaserializer-unable-to-retrieve-schema-from-schema-registry/8027
streaming
KafkaJsonSchemaSerializer unable to retrieve schema from Schema Registry
I have setup a free account in Confluent Cloud to try out Schema Registry. I created the cluster and topics as mentioned in SCHEMA-REGISTRY-101 tutorial. I played around with Avro and ProtoBuf schema as per the tutorial and everything worked well. I was able to produce as well as consume the events from both topics (av...
Notice your error includes a field called totalCost , for example, which does not match total_cost … It seems that the library you are using to do the object conversion has generated a completely different schema, which could not be registered
['kafka', 'java']
true
[]
kafka_errors
error
0
9,236
2
2023-06-06T06:37:58.130Z
confluent
vendor-confluent-4184
discourse_confluent
https://forum.confluent.io/t/using-one-group-id-for-multiple-kafka-topics/4184
streaming
Using one group id for multiple Kafka topics
Hi, Is it a good idea to have multiple consumers having same group id and connecting to multiple topics? My concern is that if one consumer is likely to fail more than others, the whole group will be in rebalance mode, and it will delay consuming for healthy consumers.
Hey @tarikh ! The issue you’re describing is relevant to consuming a single topic. I mean, when you have Topic1 and three consumers for it using Group1 group id, you would have the same problem, when you have one “problematic” consumer (i.e. Consumer1). On the other hand, when you also have Topic2 and three other consu...
['kafka']
false
[]
kafka_errors
error
0
9,197
4
2022-02-16T13:52:05.103Z
confluent
vendor-confluent-1501
discourse_confluent
https://forum.confluent.io/t/golang-app-not-compiling-in-docker/1501
streaming
Golang app not compiling in docker
Hi all Please see attached. if I compile my code directly on system, it works, when I compile/build into a docker images I get errors as per the attached. Anyone seen this, I’m also attaching my docker file. G Dockerfile FROM golang:alpine as build-env RUN apk update && apk add bash ca-certificates git gcc g++ ...
update, I’ve added “librdkafka-dev pkgconf” to the docker file as modules to pull in, still getting same errors. G
['kafka', 'docker']
true
[]
kafka_errors
error
0
9,049
11
2021-04-15T16:14:27.802Z
confluent
vendor-confluent-5079
discourse_confluent
https://forum.confluent.io/t/issue-with-kafka-consumer-prioritizing-specific-partitions/5079
streaming
Issue with Kafka Consumer prioritizing specific partitions
Hi, We are using open source Confluent Kafka deployed in Kubernetes. We have less consumers than the partitions and as such we have multiple Kafka partitions assigned to each consumer pod. We observed some of these partitions have higher lag than the other, seems the consumer is prioritizing some partition fetch over o...
I am trying to understand on what basis a Kafka consumer reads messages from its assigned partitions This is going to be a two-part answer. Foremost, how Kafka assigns messages to partitions depends on the assignor configured in the consumer. If you changed nothing, most likely you are using the default assignor, which...
['kafka', 'kubernetes']
true
[]
kafka_errors
error
0
9,041
5
2022-05-16T23:08:15.174Z
confluent
vendor-confluent-6181
discourse_confluent
https://forum.confluent.io/t/error-sending-fetch-request-group-coordinator-is-unavailable-or-invalid/6181
streaming
Error sending fetch request, Group coordinator is unavailable or invalid
Hi all! Has anyone encountered such an error? The consumer reads data from Kafka (version 6.0 from confluent). From time to time the following errors occur: -Error sending fetch request -Group coordinator (id: <> rack: null) is unavailable or invalid, will attempt rediscovery Found an unresolved issue here: [KAFK...
null
['kafka', 'java']
true
[]
kafka_errors
error
0
9,047
0
2022-10-04T14:30:32.163Z
confluent
vendor-confluent-4471
discourse_confluent
https://forum.confluent.io/t/how-to-avoid-cycles-with-mirrormaker/4471
streaming
How to avoid cycles with mirrormaker
I am using Kafka mirror maker 2.0 with 2 local kafka. I studied the issue that getting rid of cycles without aliases is not possible at the moment. I try to tune mm2.properties so that MM2 replicates topics with the same names without aliases and without cycles messages in topics. Can you tell me please how to set up s...
Hi @EShabakhov welcome to the forum Just be sure: you try to replicate a topic between you 2 kafka clusters correct? I assume the following: kafka-a → replicates topic test → kafka-b kafka-b → replicates topic test → kafka-a would be nice if you could give some details what you would like to achieve best, michael
['kafka']
false
[]
kafka_errors
error
0
8,827
19
2022-03-16T09:13:28.045Z
confluent
vendor-confluent-7654
discourse_confluent
https://forum.confluent.io/t/enable-auto-create-topics-enable/7654
streaming
Enable auto.create.topics.enable
Hi I tried modify atribute auto.create.topics.enable into my cluster but i get this error { “error_code”: 40002, “message”: “Altering resources of type BROKER is not permitted” } and i don’t know how i can solve
I faced a similar issue, and was using a basic cluster, the documentation says we can only change the cluster configuration settings in a dedicated cluster. Below is the reference link https://docs.confluent.io/cloud/current/clusters/broker-config.html#cluster-settings-console
['kafka']
false
[]
kafka_errors
error
0
8,893
3
2023-04-19T17:43:36.311Z
confluent
vendor-confluent-8389
discourse_confluent
https://forum.confluent.io/t/got-authentication-failed-even-i-already-pass-correct-username-and-password/8389
streaming
Got `Authentication failed` even i already pass correct username and password
Everything is fine when i enabled TLS Auth. Today i try to enable SASL Auth at Kraft mode, but after a few hour working i stuck at this error Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-256 . This is my server configuration apiVersion: v1 kind: ConfigMap metadata...
Hi @post-human-world , were you able to solve this? If yes, could you please share the docker file? I am having the same issue. Thanks!
['kafka', 'docker']
true
[]
kafka_errors
error
0
8,675
2
2023-07-25T13:20:27.629Z
confluent
vendor-confluent-3613
discourse_confluent
https://forum.confluent.io/t/could-not-connect-to-elasticsearch-error-message-pkix-path-building-failed-sun-security-provider-certpath-suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/3613
streaming
Could not connect to Elasticsearch. Error message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Originally asked on Stack Overflow: kubernetes - How to connect Elasticsearch deployed by Elastic Operator correctly in a Kafka connector? - Stack Overflow . Sorry, due to I am new user, I can only insert two links in this post. Please check the question in Stack Overflow with all details. Thanks! I have some CDC data ...
I finally made it! Posted the solution at kubernetes - How to connect Elasticsearch deployed by Elastic Operator correctly in a Kafka connector? - Stack Overflow Hope it helps future people!
['kafka', 'docker', 'kubernetes']
true
[]
kafka_errors
error
0
8,640
2
2021-12-09T23:57:19.602Z
confluent
vendor-confluent-4021
discourse_confluent
https://forum.confluent.io/t/unable-to-find-any-serializer-deserializer-for-avro-in-golang/4021
streaming
Unable to find any serializer/deserializer for AVRO in golang
Hi, I am using confluent cloud and storing my data in the avro format in kafka topics. And now I am consuming this data as well as producing to the topics from the golang client. But I haven’t been able to serialize/deserialize them. I tried https://github.com/riferrei/srclient , but this I find to be incomplete as I h...
There was a thread about this recently, does it help? Interfacing with schema registry from golang (msgs serialised as Protobuf msgs)
['kafka']
false
[]
kafka_errors
error
0
8,603
4
2022-01-28T06:19:47.164Z
confluent
vendor-confluent-4942
discourse_confluent
https://forum.confluent.io/t/slight-confusion-in-running-kafka-connect/4942
streaming
Slight confusion in running Kafka connect
hello, I have a slight bit of confusion when i start to run Kafka connect on my own. Here’s the scenario, I have a Kafka Cluster running in Confluent, I want to run Connect in my AWS EC2 machine and run AWS Sink connector for testing it in a standalone mode before starting in a Distributed mode. I have read lot of docu...
Hi @srikanth597 . Welcome to the Confluent Community Forum! Are you using Confluent Platform?
['kafka', 'aws']
true
[]
kafka_knowledge
knowledge
0
8,554
4
2022-04-29T07:20:18.176Z
confluent
vendor-confluent-1379
discourse_confluent
https://forum.confluent.io/t/interfacing-with-schema-registry-from-golang-msgs-serialised-as-protobuf-msgs/1379
streaming
Interfacing with schema registry from golang (msgs serialised as Protobuf msgs)
Hi all so a serious noob, (just putting it out there ;)) Busy teaching myself some technologies, at this point it’s golang and Kafka working together. I’ve written a app to that reads a text file, then packages the messages (lines) into Protobuf serialised format and then publishes them onto a Kafka topic. I’d like to ...
There is a Go Schema Registry client from @riferrei , and discussion of how to use it with Protobuf in this issue .
['kafka']
false
[]
kafka_errors
error
0
8,417
4
2021-04-01T12:09:57.383Z
confluent
vendor-confluent-5628
discourse_confluent
https://forum.confluent.io/t/unable-to-enable-username-password-authentication-for-kafka-server/5628
streaming
Unable to enable username password authentication for kafka server
Hi Team, I am planning to enable authentication( username / password) for Kafka server. i have followed below steps. CodeForGeek – 28 Feb 19 How to Set Up Authentication in Kafka Cluster | CodeForGeek In the previous article, we have set up the Zookeeper and Kafka cluster and we can produce and consume messages. When i...
hey @Harijld could you share some more details? config and some more log information? best, michael
['kafka']
false
[]
kafka_errors
error
0
8,294
13
2022-07-27T07:48:12.461Z
confluent
vendor-confluent-1522
discourse_confluent
https://forum.confluent.io/t/post-protobuf-schema-in-schema-registry/1522
streaming
Post protobuf schema in Schema Registry
Hi there! I have an error when trying to register a protobuf schema in the Schema Registry using the API: { "error_code": 42201, "message": "Invalid schema {subject=test,version=0,id=-1,schemaType=PROTOBUF,references=[ ],schema=syntax = 'proto3';package Test;import 'google/protobuf/timestamp.proto';message EventProto {...
@i-arge Checkout this article which describes Schema References. You’ll need to register the Timestamp schema separately and then refer to the Timestamp schema with a schema reference when registering the EventProto schema. As an FYI in Confluent Platform 6.2 this will not be required as Schema Registry will be aware o...
['kafka']
false
[]
kafka_errors
error
0
8,223
4
2021-04-16T17:12:19.369Z
confluent
vendor-confluent-1831
discourse_confluent
https://forum.confluent.io/t/kafka-mirror-maker-2-0-and-kafka-connect-rest-api/1831
streaming
Kafka Mirror maker 2.0 and Kafka connect REST API
I am using Kafka mirror maker 2.0 in distributed mode with 2 instances part of the same replication herd. I am starting the service like this ./bin/connect-mirror-maker.sh config/connect-mirror-maker.properties I am aware that MM2 uses Kafka Connect under the hood and Kafka connect comes with a REST API for querying an...
Hi, I was wondering how you were able to fix this ? I have the same issue.
['kafka']
false
[]
kafka_errors
error
0
8,094
3
2021-05-20T06:56:34.659Z
confluent
vendor-confluent-5143
discourse_confluent
https://forum.confluent.io/t/jdbc-sink-connector-to-load-data-from-2-different-topics-to-2-different-table/5143
streaming
Jdbc sink connector to load data from 2 different topics to 2 different table
I have 2 different kafka topics (task,member) which does not have similar column names. Using JDBC sink connector I have to write the data from kafka topics (task,member) to mysql tables(test_task,test_member) using UPSERT mode data in task topics:(jsondata) {“orderid”: 1,“name”:“sangeetha”,“products”:“Mobile”,“modeofp...
record value schema does not contain field: pzinskey You’ve shown the records, but please show the JSONSchema you’ve stored in the registry Alternatively, neither of your records contain both of these fields, as the error says, so you must use two different connector configurations, one for each topic with their own PK...
['kafka', 'jdbc']
true
[]
kafka_errors
error
0
8,103
4
2022-05-25T13:09:04.573Z
confluent
vendor-confluent-8387
discourse_confluent
https://forum.confluent.io/t/inconsistent-group-protocol-exception-why/8387
streaming
Inconsistent Group Protocol Exception - Why?
I have a Docker environment set up with Zookeeper, Kafka, four MySQL databases (configured for the Debezium MySQL connectors that I am able to register with Connect successfully). When I attempt to consume a topic from the client side I get this error: [main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka ver...
The answer ended up being to ensure the consumer group.id is not accidentally (or intentionally) the same as the group.id of the producers. Nothing in the documentation here, and I didn’t find the solution, this guy did: java - org.apache.kafka.common.errors.InconsistentGroupProtocolException: The group member's suppor...
['kafka', 'docker', 'java']
true
[]
kafka_errors
error
0
8,055
2
2023-07-25T12:57:26.095Z
confluent
vendor-confluent-628
discourse_confluent
https://forum.confluent.io/t/lag-metric-to-prometheus/628
streaming
Lag metric to prometheus
What are my options for exporting the max lag of a topic into promethus? I have reviewed the metrics API already and don’t see anything at the consumer group level. Seems like there should be a jmx exporter endpoint that we could consumer from. Thanks Zach
Have you checked GitHub - seglo/kafka-lag-exporter: Monitor Kafka Consumer Group Latency with Kafka Lag Exporter ? It’s probably the easiest way to export the consumer lag from a Confluent Cloud deployment to Prometheus.
['prometheus', 'kafka']
true
[]
kafka_knowledge
knowledge
0
7,977
6
2021-02-04T13:44:43.849Z
confluent
vendor-confluent-6478
discourse_confluent
https://forum.confluent.io/t/kafka-kraft-sasl-plaintext/6478
streaming
Kafka KRAFT SASL_PLAINTEXT
Hey, guys. I’m trying to get Kafka in “kraft” mode up n’ running with SASL_PLAINTEXT I’ve been able to get a functioning kafka broker/controller up n’ running locally, with this config/kraft/server.properties process.roles=broker,controller node.id=1 controller.quorum.voters=1@localhost:9093 listeners=PLAINTEXT://:9092...
process.roles=$KAFKA_PROCESS_ROLES node.id=$KAFKA_NODE_ID controller.quorum.voters=$KAFKA_CONTROLLER_QUORUM_VOTERS listeners=BROKER://:9092,CONTROLLER://:9093 advertised.listeners=BROKER://:9092 listener.security.protocol.map=BROKER:SASL_PLAINTEXT,CONTROLLER:SASL_PLAINTEXT inter.broker.listener.name=BROKER controller.l...
['kafka', 'docker', 'java']
true
[]
kafka_errors
error
0
7,943
3
2022-11-09T13:02:01.116Z
confluent
vendor-confluent-7662
discourse_confluent
https://forum.confluent.io/t/kafka-consumer-not-consuming-messages-after-application-restart/7662
streaming
Kafka Consumer not consuming messages after application restart
I have a Java application that consumer messages from a Kafka topic. Using following kafka client dependency. <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> <version>3.4.0</version> </dependency> Once restarted, application stops c...
null
['kafka', 'java']
true
[]
kafka_errors
error
0
7,924
0
2023-04-20T12:23:03.491Z
confluent
vendor-confluent-4211
discourse_confluent
https://forum.confluent.io/t/node-disconnected-excessive-logging/4211
streaming
Node disconnected excessive logging
In Kafka 3.1 the log level for the “ Node x disconnected ” message was changed from DEBUG to INFO , and as a result I’m seeing regular messages saying the nodes are disconnected. But strangely the message is getting logged every 5 minutes for every stream thread. I’m thinking the 5 minutes could be the metadata.max.age...
The logging is coming from the AdminClient and my guess it that is due to the connections.max.idle.ms config setting
['kafka']
false
[]
kafka_errors
error
0
7,924
1
2022-02-17T16:19:28.926Z
confluent
vendor-confluent-3482
discourse_confluent
https://forum.confluent.io/t/confluent-cloud-error-broker-may-not-be-available/3482
streaming
Confluent Cloud error: Broker may not be available
Hi @rmoff I am facing similar issue. Our java application connects to confluent cloud kafka - azure to create kafka topics, etc. There are two logs that flows continuosly in our java app, although connection to cluster and creation of topics are successful. {“message”:“[AdminClient clientId=adminclient-1] Connection to...
Hi @Suja in general it might be related to the advertised listener parameter in server.properties. As you are using confluent cloud it should be already configured correctly I guess. Nevertheless some further reading Running Kafka Connect (Sink) On Separate Machine From Zookeeper & Topic (non localhost) Kafka Conne...
['aws', 'python', 'java', 'kafka', 'azure', 'docker']
true
[]
kafka_errors
error
0
7,873
11
2021-11-22T08:27:53.331Z
confluent
vendor-confluent-4697
discourse_confluent
https://forum.confluent.io/t/error-401-using-kafkaio-to-access-to-schema-registry/4697
streaming
Error 401 using KafkaIO to access to schema registry
Hello, i’m trying to connect to the schema registry using KafkaIO, but i receive this error: io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Unauthorized; error code: 401 props.put("schema.registry.url", "https://schema_registry_url"); props.put("basic.auth.credentials.source", "USER_INFO"...
Welcome to the forum! Assuming that you are using “https://schema_registry_url”. and “KEY:PASSWORD” as placeholders for the real values, have you verified that the values you are using for key and password are the correct ones for the schema registry URL that you are trying to access?
['kafka']
false
[]
kafka_errors
error
0
7,636
1
2022-04-05T19:00:33.228Z
confluent
vendor-confluent-4140
discourse_confluent
https://forum.confluent.io/t/sql-debezium-source-to-topic-to-jdbc-sink-target/4140
streaming
SQL Debezium source to topic to JDBC sink target
We are currently running a POC to prove we can replicate MS SQL Server tables from one server to another. We currently have CDC configured on the source table and have a Debezium connector configured. This data flows into a topic with no issues. Now using a JDBC sink connector, we want to read from the topic and replic...
If I remember it right, Debezium wrappes sourced payload with an “envelope”, so there is a number of internal auxilary fields. You should be able to manipulate the messages using different SMTs before sinking them to the target. Debezium provides a number of transformations for this, and usually you use Unwrap to pair ...
['kafka', 'jdbc']
true
[]
kafka_errors
error
0
7,554
10
2022-02-10T18:27:13.641Z
confluent
vendor-confluent-5835
discourse_confluent
https://forum.confluent.io/t/timeoutexception-on-call-fetchmetadata/5835
streaming
TimeoutException on Call: fetchMetadata
Hi, I’m pretty sure my problem is related to permissions as it doesn’t happen when connecting to a local Dev instance of Kafka. Using Confluent Cloud, everything (reading+writing) is working, but I see the following error in my logs INFO o.a.k.c.a.i.AdminMetadataManager : Metadata update failed org.apache.kafka.common....
Hi does anyone have any suggestions?
['kafka']
false
[]
kafka_errors
error
0
7,558
3
2022-08-19T11:54:37.368Z
confluent
vendor-confluent-7664
discourse_confluent
https://forum.confluent.io/t/creating-a-topic-via-docker-compose-file/7664
streaming
Creating a topic via docker compose file
Hi, I am running confluent kafka locally and I am using a docker-compose.yml file. I want to create a topic at the startup and for which I am using the following code but I am not seeing my topic. Can anyone help with the same? I am creating topic under broker where you can find the docker command. --- version: '2' ser...
It looks like you are trying to create a Kafka topic during the startup of your Kafka broker container using the kafka-topics command in your docker-compose.yml file. However, your command is not working, and you are not seeing your topic. One issue I see with your docker-compose.yml file is that the command section in...
['kafka', 'docker', 'java']
true
[]
kafka_errors
error
0
7,485
2
2023-04-20T14:19:19.107Z
confluent
vendor-confluent-4731
discourse_confluent
https://forum.confluent.io/t/java-lang-verifyerror-bad-return-type-when-using-org-springframework-kafka-support-serializer-jsondeserializer/4731
streaming
java.lang.VerifyError: Bad return type when using org.springframework.kafka.support.serializer.JsonDeserializer()
Good day, Base on Synchronous Kafka: Using Spring Request-Reply - DZone Big Data , I would like to try the Synchronous Kafka. However, when I trying to creating the bean of ConsumerFactory . I am hitting the java.lang.VerifyError: Bad return type error. My code is as follow: import org.springframework.kafka.support.ser...
junxian: java.lang.VerifyError: Bad return type What version of Spring Boot are you using? The first thing I would do is look at the version of Jackson that Spring Boot was built with; e.g. for 2.7.0 here is a list of verions https://docs.spring.io/spring-boot/docs/2.7.0-M3/reference/htmlsingle/#appendix.dependency-ver...
['kafka', 'java']
true
[]
kafka_errors
error
0
7,449
2
2022-04-11T06:39:17.002Z
confluent
vendor-confluent-2935
discourse_confluent
https://forum.confluent.io/t/kraft-apache-kafka-without-zookeeper/2935
streaming
KRaft: Apache Kafka without Zookeeper
I know I’ve already asked everyone’s opinion/experience with KRaft. Seems like not too many people have experimented yet… Let’s change that! Here’s a great write-up of KRaft, how it works in place or Zookeeper, and an easy guide to get started on your own! Confluent KRaft - Apache Kafka Without ZooKeeper Apache Kafka R...
Why should I try it out? I know it’s a bit of a chicken and egg problem but as long as production is run with Zookeeper I don’t know why I should give it a try.
['kafka']
false
[]
kafka_errors
error
0
7,379
6
2021-09-29T20:00:14.698Z
confluent
vendor-confluent-4364
discourse_confluent
https://forum.confluent.io/t/consumer-poll-returns-empty-consumerrecords/4364
streaming
Consumer.poll() returns empty ConsumerRecords
I install kafka on windows 11 and it works successfully. Below codes are simple and basic java client codes of Kafka. First, Kafka producer java codes. Properties props = new Properties(); props.put("bootstrap.servers", "localhost:9092"); props.put("acks", "all"); props.put("retries", 0); props.put("linger.ms", 1); pro...
@aupres This is the expected behavior of the Consumer API poll function . The consumer polls for new records, and the return value is null if there are no new records to consume. You are passing the poll function a timeout of 0 , which means the consumer is running in a very tight loop. All you see in the output is a s...
['kafka', 'java']
true
[]
kafka_errors
error
0
7,364
2
2022-03-05T09:14:04.454Z
confluent
vendor-confluent-8347
discourse_confluent
https://forum.confluent.io/t/deserializing-a-byte-array-from-a-kafka-bytearraydeserializer-into-a-genericrecord-or-a-specificrecord-with-schema/8347
streaming
Deserializing a byte[] array from a Kafka ByteArrayDeserializer into a GenericRecord or a SpecificRecord with schema
I currently have an event stream with a Kafka topic that sends a schema-registry manager event through Java Spring Kafka. On the producer side, I’m sending with no problems: props.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, IntegerSerializer.class); props.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, KafkaAvroS...
Seems this is a clients or schema registry question, but not a Kafka Streams one. What I don’t understand: why do you want to use the byte-array deserialized to begin with and deserialize the data manually? If using io.confluent.kafka.serializers.KafkaAvroDeserializer.class works, why don’t you just use it? It seems, i...
['kafka', 'java']
true
[]
kafka_errors
error
0
7,308
1
2023-07-19T18:05:53.888Z
confluent
vendor-confluent-4194
discourse_confluent
https://forum.confluent.io/t/kafka-what-is-a-right-value-for-replica-lag-time-max-ms/4194
streaming
Kafka - What is a right value for replica.lag.time.max.ms?
We are receiving a lot of Kafka alerts related to topic being under replicated . We think these are not real issues because of the alerts bouncing in and off. This may be caused by having a tight value for replica.lag.time.max.ms . This setting controls when a replica is considered out of sync and thus removed from the...
hey @gsolano777 what is current value of replica.lag.time.max.ms ? how does your setup look like? any firewalls etc. in between? in my experience the default (30s) worked quite well in most cases. best michael best, michael
['kafka']
false
[]
kafka_errors
error
0
7,289
3
2022-02-16T18:04:18.562Z
confluent
vendor-confluent-7038
discourse_confluent
https://forum.confluent.io/t/error-when-trying-to-create-a-connector-with-curl-request/7038
streaming
Error when trying to create a connector with curl request
Hello everyone, I’m following the tutorial by Robin Moffat Loading CSV data into Kafka running docker in a windows machine. When i launch this curl request: curl -i -X PUT http://localhost:8083/connectors/source-csv-spooldir-00/config -H ‘Accept:application/json’ -H ‘Content-Type:application/application/json’ -d ‘{“con...
hey @SeverusP according to @rmoff ’s post there is a backslack missing for "input.file.pattern": ".*\\.csv", Nevertheless could please share you’re example formatted as “preformatted text” ( ) cause at the moment the quotation marks and apostrophes look not well formatted guess it’s related to discourse. best, michael
['kafka', 'docker']
true
[]
kafka_errors
error
0
7,074
23
2023-01-18T10:38:27.713Z
confluent
vendor-confluent-7913
discourse_confluent
https://forum.confluent.io/t/retrieve-kafka-topics-using-http-https-api-call/7913
streaming
Retrieve kafka topics using http/https API call
I am creating custom UI on top of open source apache kafka setup. I need to list all the available topics in kafka broker to the UI. Is there any http/https rest API available that will return json of available topics?
Hi @AshishGupta take a look at the v2 endpoint, https://docs.confluent.io/platform/current/kafka-rest/api.html#topics and the v3 endpoint, https://docs.confluent.io/platform/current/kafka-rest/api.html#topic-v3 There’s an usage example for the v3 endpoint in the documentation, https://docs.confluent.io/platform/current...
['kafka']
false
[]
kafka_knowledge
knowledge
0
7,217
3
2023-05-22T06:09:46.670Z
confluent
vendor-confluent-5632
discourse_confluent
https://forum.confluent.io/t/kafka-group-authorization-issue/5632
streaming
Kafka group authorization issue
we are facing issue in consuming messages from kafka . Receiving GroupAuthorization error . We were able to consume for a while and suddenly saw below error . After that no messages were consumer . There are 5 servers for the applications and consumption was happening in one and all other from the beginning got authori...
null
['kafka']
false
[]
kafka_errors
error
0
7,218
0
2022-07-27T09:36:32.855Z
confluent
vendor-confluent-3102
discourse_confluent
https://forum.confluent.io/t/consumers-complaining-about-unstable-offsets/3102
streaming
Consumers complaining about unstable offsets?
Hello, we are using Spring Kafka together with Kafka 2.5. We have a cluster consisting of 3 brokers, with ISR 1 and an RF of 2. For some time now, we have been seeing the following types of log messages: [Consumer clientId=consumer-reporting-service-30, groupId=reporting-service] The following partitions still have uns...
Check your producers logs to that topic. Are they failing to commit successful transactions or aborts within time? Did somebody create long max transaction timeouts? Did somebody mix transactional and non transactional produces in the same topic?
['kafka']
false
[]
kafka_errors
error
0
7,173
7
2021-10-15T12:00:30.434Z
confluent
vendor-confluent-6617
discourse_confluent
https://forum.confluent.io/t/how-to-pause-and-resume-streams-periodically/6617
streaming
How to pause and resume streams periodically
Hi I have a question. I have 2 topics. I want to periodically transfer a message from one topic to another. For example every 15 minutes. I want to use kafka streams for this transformation. When I stop streams, messages should not be streamed from topic to stream and I should be reopen message migration after 15 minut...
I am not sure if this is a very good way to use KafkaStreams . The framework is designed for stream processing, that means continuously updating data, not periodically updating data. Maybe you can consider using the Consumer and Producer APIs directly. Anyhow, I responded to the concrete pausing / resuming question on ...
['kafka', 'java']
true
[]
kafka_knowledge
knowledge
0
7,133
5
2022-11-26T12:59:02.666Z
confluent
vendor-confluent-3872
discourse_confluent
https://forum.confluent.io/t/no-golang-support-for-schema-serializer-protobuf/3872
streaming
No golang support for schema serializer (protobuf)?
Hey All, we are blocked due to the no golang support in schema registry. Is there a workaround for this? This is specifically for protobuf (not avro). Please help, this is a big blocker for us… Jake
@riferrei wrote this, perhaps it will help? GitHub GitHub - riferrei/srclient: Golang Client for Schema Registry Golang Client for Schema Registry. Contribute to riferrei/srclient development by creating an account on GitHub. github.com demo-scene/getting-started-with-ccloud-golang at master ·... master/getting-started...
['kafka']
false
[]
kafka_errors
error
0
7,098
13
2022-01-12T21:40:52.898Z
confluent
vendor-confluent-5668
discourse_confluent
https://forum.confluent.io/t/i-get-error-authorization-failed-when-i-try-to-create-a-topic/5668
streaming
I get error Authorization failed when I try to create a topic
Hi. I created a new free account to follow the Kafka 101 tutorial. 4 hours after the creation of the cluster I tried to create a topic and I got the error message Authorization failed . Anyone has an idea about what may be happening? Thanks in advance.
Same deal here- created a new account and cluster a little while ago, and can’t create topics either. EDIT: I was able to address this by manually granting my account the ‘cloud cluster admin’ role on my new cluster. Either something isn’t working right during the auto-provisioning of new user accounts or the docs for ...
['kafka']
false
[]
kafka_errors
error
0
7,091
1
2022-08-02T19:21:28.786Z
confluent
vendor-confluent-1663
discourse_confluent
https://forum.confluent.io/t/jdbc-sink-connector-slow-performance-with-upsert-and-pk/1663
streaming
Jdbc sink connector slow performance with upsert and pk
HelIo everyone, I having a performance issue when using sink connector in upsert mode and with pk for record_values and the PK over 3 fields. The lag grows quickly, even though kafka connect workers are working as a 3 nodes cluster as well as broker. I use 30 partitions and 30 sink tasks on that topic. The DB it selfs ...
I would speak to your DBA The fact that it works fine without PK demonstrates that it’s a performance issue on the database side.
['azure', 'kafka', 'jdbc']
true
[]
kafka_errors
error
0
7,007
3
2021-05-04T14:10:35.261Z
confluent
vendor-confluent-5345
discourse_confluent
https://forum.confluent.io/t/schema-registry-bad-certificate-error/5345
streaming
Schema Registry : Bad certificate error
Hi everyone, I am getting a bad certificate error ( javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate ) when my Kafka Producer bootstraps and try to register the schema with Schema Registry server using HTTPS. I have configured the producer factory correctly with all the relevant properties req...
Did you fix this issue ? Facing the same
['kafka', 'java']
true
[]
kafka_errors
error
0
6,990
3
2022-06-21T14:14:58.329Z
confluent
vendor-confluent-6819
discourse_confluent
https://forum.confluent.io/t/mirrormaker-2-without-internal-topics/6819
streaming
MirrorMaker 2 without internal topics
We use MirrorMaker version 1 to mirror data back and forth between various Kafka clusters. The tool does not fulfill all wishes, but for us it is perfect (since we designed our system around MM1, since MM2 did not exist yet). Since MM1 is considered obsolete and will be removed from the code base, we will have to switc...
Already found out to disable some features I probably can live without: refresh.topics.enabled=false sync.group.offsets.enabled=false refresh.groups.enabled=false sync.topic.acls.enabled=false emit.heartbeats.enabled=false emit.checkpoints.enabled=false Probably sync.topic.configs.enabled=true is all I need. Neverthele...
['kafka']
false
[]
kafka_errors
error
0
6,998
2
2022-12-13T11:14:51.998Z
confluent
vendor-confluent-6126
discourse_confluent
https://forum.confluent.io/t/plain-sasl-set-up-is-not-working/6126
streaming
Plain SASL set up is not working
We are configuring KAFAK with SASL_PLAINTEXT authentication but its not working as expected. I have gone though many documents and sites but no luck. It would be great if someone can check the configuration and help us what is the issue with setup. listeners=SASL_PLAINTEXT://10.119.37.107:9093 sasl.enabled.mechanisms=S...
Hi Team, i tried different options but no luck,. Can someone please suggest what is the issue with this setup.
['kafka', 'java']
true
[]
kafka_errors
error
0
6,944
2
2022-09-26T18:48:40.973Z
confluent
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
7