Skip to content

bobmarks/kafka-connect-testcontainers-custom-smt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Connect integration test using TestContainers and a Custom SMT

Using TestContainers to integration test a Kafka Connect with a custom SMT.

See original StackOverflow question .

Setup

Ensure Java 11 JDK is installed / JAVA_HOME environment variable is set. To install e.g. OpenJDK, visit:

Test

./gradlew test

This should produce something like the following:

> Task :test

smt.test.SmtIntegrationTest

  Test db_insert_creates_kakfa_message_with_smt() PASSED (2s)
  Test db_insert_creates_kakfa_message() PASSED (6s)

smt.test.RandomFieldTest

  Test topLevelStructRequired() PASSED
  Test schemalessInsertRandomField() PASSED
  Test copySchemaAndInsertUuidField() PASSED

SUCCESS: Executed 5 tests in 1m 20s

About

Using TestContainers to integration test Kafka Connect with a custon SMT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages