kafka-avro-without-registry
Test Spring Kafka application (using Avro as a serialization mechanism) without the need for Confluent Schema Registry (by ivlahek)
kafka-consumer-testing
demo application for testing a Kafka consumer with Avro message schema with Testcontainers using Kafka with embedded Zookeeper and no Schema Registry container (by kreuzwerker)
kafka-avro-without-registry | kafka-consumer-testing | |
---|---|---|
1 | 1 | |
24 | 9 | |
- | - | |
1.5 | 0.0 | |
about 1 year ago | almost 3 years ago | |
Java | Java | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kafka-avro-without-registry
Posts with mentions or reviews of kafka-avro-without-registry.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-22.
-
Testing a Kafka consumer with Avro schema messages in your Spring Boot application with Testcontainers
When you check on the internet for testing in the context of Spring Boot Kafka consumer and Avro schema, you find quite a few variants: using the MockSchemaRegistryClient, or writing your own custom Avro de-/serializers, or setting up a Testcontainers ecosystem with a Kafka, a Zookeeper and a Confluent Schema Registry, or using the EmbeddedKafka provided by Spring in the spring-kafka-test dependency.
kafka-consumer-testing
Posts with mentions or reviews of kafka-consumer-testing.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-22.
-
Testing a Kafka consumer with Avro schema messages in your Spring Boot application with Testcontainers
Let me walk you through the smaller setup, simulating the situation above. We have a Spring Boot application, a PostgreSQL database and our Kafka consumer. The application needs to listen to Kafka messages for users that were added or modified, and has to update the database items accordingly. You can find the full code repository here. I added the UserEvent class for compilation purpse only, normally that would end up in your generated classes via the Avro plugin.
What are some alternatives?
When comparing kafka-avro-without-registry and kafka-consumer-testing you can also consider the following projects:
schema-registry - Confluent Schema Registry for Kafka