This Java console application demonstrates how to connect to IBM Event Streams for IBM Cloud, send and receive messages using the Kafka Java API. It also shows how to create topics using the Kafka Admin API.
It can be run locally on your machine or deployed into IBM Cloud.
For help with additional deployment modes, please refer to our connection guide.
Important Note: This sample creates a topic with one partition on your behalf. On the Standard plan, this will incur a fee if the topic does not already exist.
The application can be run in the following environments: