Skip to content

Example using Kafka APIs with Oracle Database transactional event queues

License

Notifications You must be signed in to change notification settings

anders-swanson/oracle-database-kafka-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oracle Database Kafka APIs

Running the Oracle Database Kafka API tests

Prerequisites:

  • Java 21
  • Maven
  • Docker

Once your docker environment is configured, you can run the integration tests with maven:

  1. To demonstrate producing and consuming messages from a Transactional Event Queue topic using Kafka APIs, run the OKafkaExampleIT test.
mvn integration-test -Dit.test=OKafkaExampleIT
  1. To demonstrate a transactional producer, run the TransactionalProduceIT test. With a transactional producer, messages are only produced if the producer successfully commits the transaction.
mvn integration-test -Dit.test=TransactionalProduceIT
  1. To demonstrate a transactional consumer, run the TransactionalConsumeIT test.
mvn integration-test -Dit.test=TransactionalConsumeIT

To run all the Transactional Event Queue Kafka API tests, run mvn integration-test.

About

Example using Kafka APIs with Oracle Database transactional event queues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages