/event-streams-samples

Primary LanguageJavaApache License 2.0Apache-2.0

event-streams-samples

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.

Aim of the Samples

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!

Provisioning your Event Streams for IBM Cloud Cluster

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.

Pricing plans

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.

Connecting to your Event Streams for IBM Cloud Cluster

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.

Our APIs and Sample Applications

Kafka API (recommended):

Spring Kafka:

  • 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

Utilities:

Get Further Assistance

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.