IBM Event Streams 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 realise 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 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 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 cluster, please visit the IBM Cloud® catalog. Please also familiarise yourself with Event Streams 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 both our Standard and 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 Kafka API
- kafka-java-liberty-sample : Sample IBM Websphere Liberty profile application using the Event Streams Kafka API
- kafka-nodejs-console-sample : Sample Node.js console application using the Event Streams Kafka API
- kafka-python-console-sample : Sample Python console application using the Event Streams Kafka API
- mqlight : MQ Light samples in Java, Python, Node.js and Ruby
If you have any issues, just ask us a question (tagged with event-streams) on StackOverflow.com.
For more information regarding IBM Event Streams, view the documentation on IBM Cloud.