IBM Event Streams for IBM Cloud is a scalable, distributed, high throughput message bus to unite your on-premise and off-premise cloud technologies. You can wire micro-services together using open protocols, connect stream data to analytics to realize powerful insight and feed event data to multiple applications to react in real time.
This repository is for samples which interact with the Event Streams for IBM Cloud service. Currently, there are samples for the Kafka and MQ Light APIs. Information and instructions regarding the use of these samples can be found in their respective directories.
The aim of the samples is to help you get started with Event Streams for IBM Cloud within minutes. They are not production-ready applications but should give you useful pointers at how to build, package and deploy applications as well as how to make basic API calls against us with error handling. We did all the heavy lifting so you can focus on developing exciting code with value!
In order to provision an Event Streams for IBM Cloud cluster, please visit the IBM Cloud® catalog. Please also familiarise yourself with Event Streams for IBM Cloud and Apache Kafka basics and terminology. Our documentation is a good starting point.
IBM Event Streams can be provisioned on IBM Cloud® in various pricing plans. Please refer to our documentation to help choose a plan that works for you.
Important Note: Provisioning an Event Streams service in IBM Cloud® incurs a fee. Please review pricing before provisioning. The samples in this repository will create topic(s) on your behalf - creating a topic might also incur a fee. For more information, please consult the IBM Cloud® documentation if necessary.
In each sample, we demonstrate a single connection path for our Standard/Enterprise plans respectively. The aim was to get you started quickly. However your client's needs might be different. Therefore we wrote a guide that discusses credential generation in detail and showing you all possible ways of doing this.
- kafka-java-console-sample : Sample Java console application using the Event Streams for IBM Cloud Kafka API
- kafka-java-liberty-sample : Sample IBM Websphere Liberty profile application using the Event Streams for IBM Cloud Kafka API
- kafka-nodejs-console-sample : Sample Node.js console application using the Event Streams for IBM Cloud Kafka API
- kafka-python-console-sample : Sample Python console application using the Event Streams for IBM Cloud Kafka API
- kafka-connect : Sample Docker image with Kafka Connect
- kafka-mirrormaker : Sample Docker image with Kafka Mirror Maker
- spring kafka tutorial : Tutorial to quickly get you up and running using IBM Event Streams.
- spring-kafka : Sample app to connect to Event Streams using Spring Kafka
- kafka-topic-stats: Utility for displaying Kafka topic usage and configuration.
If you have any issues, just ask us a question (tagged with ibm-eventstreams
) on StackOverflow.com.
For more information regarding IBM Event Streams for IBM Cloud, view the documentation on IBM Cloud.