This Node.js console application demonstrates how to connect to IBM Event Streams for IBM Cloud, send and receive messages using the node-rdkafka module. It also shows how to create topics using the Kafka Admin API as exposed by node-rdkafka
.
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: