Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 908 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 908 Bytes

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.