confluent-schema-registry Questions
3
Solved
Kafka : ClassCastException: class org.apache.avro.generic.GenericData$Record cannot be cast to class
I have this exception in the consumer when trying to cast the record.value() into java object :
ClassCastException: class org.apache.avro.generic.GenericData$Record cannot be cast to class [...].Pu...
Dominickdominie asked 30/1, 2022 at 21:38
1
Solved
I am building a Kafka Listener / Consumer with Spring Boot that consumes Avro data from a topic.
Here's some of the properties
spring.kafka.properties.specific.avro.reader=true
spring.kafka.consume...
Dichloride asked 6/5 at 11:1
5
I'm writing a consumer which listens to a Kafka topic and consumes message whenever message is available. I've tested the logic/code by running Kafka locally and it's working fine.
While writing ...
Celadon asked 20/8, 2019 at 13:42
5
I'm using Kafka schema registry for producing/consuming Kafka messages, for example I have two fields they are both string type, the pseudo schema as following:
{"name": "test1", "type": "string"}...
Delegacy asked 12/4, 2018 at 15:57
10
Solved
I'm using a Kafka Source in Spark Structured Streaming to receive Confluent encoded Avro records. I intend to use Confluent Schema Registry, but the integration with spark structured streaming seem...
Myxomatosis asked 20/2, 2018 at 10:12
7
I have been trying to deploy Kafka with schema registry locally using Kubernetes. However, the logs of the schema registry pod show this error message:
ERROR Server died unexpectedly: (io.confluen...
Spermatophore asked 18/1, 2019 at 13:9
2
Solved
We have been using Confluent Schema Registry with KafkaStreams for over a year now and everything has been working well; until yesterday.
In an UAT environment we seem to have had a Schema subject...
Experimentalism asked 21/3, 2019 at 14:38
1
I am using Kafka streams to read and process protobuf messages.
I am using the following properties for the stream:
Properties properties = new Properties();
properties.put(ConsumerConfig.GROUP_...
Lise asked 29/12, 2021 at 12:5
3
While adding dependencies for confluent kafka in build gradle file, its unable to resolve it.
compile group: 'io.confluent', name: 'kafka-avro-serializer', version: '4.0.0'
compile group: 'io.c...
Sung asked 23/5, 2020 at 15:45
2
I have installed confluent platform in Ubuntu 16.04 machine and initially i have configured zookeeper, Kafka and ksql and started confluent platform.
i am able to see the below message.
root@DE...
Monolatry asked 30/1, 2019 at 12:56
2
I have created the below test class to produce an event using AvroSerializer.
@SpringBootTest
@EmbeddedKafka(partitions = 1, brokerProperties = { "listeners=PLAINTEXT://localhost:9092", &...
Quechua asked 11/3, 2021 at 3:14
2
Solved
Kafka schema-registry provides a nice way to serialize and deserialize the data from Kafka using common data contract. However, the data contract (.avsc file) is the glue between the producer and c...
Sullage asked 5/9, 2019 at 2:49
2
I have a sink connector with the following configuration
{
"name": "sink-test-mariadb-MY_TOPIC",
"config": {
"connector.class":"io.confluent.connect.jdbc.JdbcSinkConnector",
"tasks.max":"10",...
Grube asked 17/1, 2019 at 7:3
1
Solved
I'm running Kafka schema registry version 5.5.2, and trying to register a schema that contains a reference to another schema. I managed to do this when the referenced schema was in the same package...
Alyse asked 23/12, 2021 at 16:8
1
Solved
A number of API/microservices provide access to critical resources including Kafka topics. The API/microservice messages are validated using an OpenAPI specification that defines the API/microservi...
Henigman asked 16/12, 2020 at 14:32
3
Solved
I have the following configuration for my Kafka Stream application
Properties config = new Properties();
config.put(StreamsConfig.APPLICATION_ID_CONFIG,this.applicaionId);
config.put(StreamsCo...
Censor asked 15/5, 2018 at 11:13
2
We are planning to use AWS MSK service for Managed Kafka and Schema Registry and Kafka Connect services from Confluent together to run our connectors (Elasticsearch Sink Connector). We have planned...
Poppas asked 28/10, 2020 at 7:23
1
I read Docker (Compose) client connects to Kafka too early, but it doesn't give which command to check.
How should I configure my kafka broker so it retries when zookeeper is not ready? and my sche...
Acclaim asked 20/1, 2021 at 14:9
2
I am trying to read data from a kafka avro topic using the avro schema from the confluent client registry. I am using io.confluent library version 5.4.1.
This is the entry in the gradle file
compi...
Eleanoraeleanore asked 1/2, 2021 at 16:7
1
Getting exception while reading from kafka topic: Caused by:
org.apache.kafka.common.errors.SerializationException: Error
deserializing Avro message for id 1 Caused by:
org.apache.kafka.common...
Spellman asked 16/6, 2019 at 21:18
1
For supporting schema registry on my MSK topic, I found two options -
AWS Glue Schema Registry; and
Confluent Schema Registry
Since, Glue SR is fully managed by AWS, I would prefer to use that. H...
Cesaro asked 28/1, 2021 at 3:19
3
I'm evaluating kinesis as replacement for kafka. One of the things I'm missing is Schema registry equivalent solution. In particular I need:
schema upgrade - validate compatibility with the previ...
Swim asked 15/11, 2018 at 9:50
3
Solved
I have found some code here https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-dotnet-avro-serialization#Scenario2 that does the reverse of what I need:
//Define the schema in JSON
const ...
Lampley asked 26/7, 2017 at 23:6
1
Solved
Trying to publish the json message on topic using schema registry but getting below error. followingspring boot approach ..
The configuration 'schema.registry.url' was supplied but isn't a known co...
Ermine asked 17/11, 2020 at 18:47
1
Solved
I have a spring boot application with some kafka providers/consumers and some integration tests(using embedded kafka) for them. Everything worked fine, until i have lifted the spring boot version t...
Galloglass asked 29/10, 2020 at 16:42
1 Next >
© 2022 - 2024 — McMap. All rights reserved.