Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on how to use karate-kafka with standalone jar and an example using Avro consumer with schema registry #8

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

nitomartinez
Copy link

@nitomartinez nitomartinez commented Jan 12, 2022

Background

We are using karate for non Java development (in our case Python), and for our tests karate-kafka fits very well.
In our case we are using Kafka with schema registry.

Objective

  • Create a standalone karate.jar that has the karate-kafka classes
  • Support Confluent schema registry

Changes

  • In pom.xml:
    • kafka-avro-serializer
    • update versions for kafka
    • Remove the <scope>test</scope> for karate-core
    • Add the shade plugin to build the fatjar
  • Documentation and examples in a new examples directory, and inside that:
    • New docker-compose.yml for kafka+rest-proxy+schema-registry
    • Updated README.md to point to the examples directory
    • Example feature, schema files, and example json files to run an example test.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant