Storage

Introducing the Cloud Object Storage Bridge for Message Hub

Share this post:

IBM Message Hub (MH) now supports a bridge which continuously uploads a topic’s messages as objects in IBM Cloud Object Storage (COS).  IBM Cloud Object Storage is IBM’s latest generation, scalable cloud storage service, designed for high data durability, resiliency and security. The IBM Cloud Object Storage API is a REST-based API and supports a common set of S3 API functions for programmatic access. The storage service offers key features including server-side encryption for data at rest, flexible storage tiers, and resiliency options. IBM also continues to offer our first generation Open Stack Swift based API Object Storage service for customers with SWIFT-based applications and this service also supports a Message Hub Bridge.  NOTE:  IBM recommends customers use the latest generation IBM Cloud Object Storage strategic service to take advantage of continued feature expansion and IBM Cloud service integration.

See this previously posted blog for a description of how an Object Storage bridge forms part of an end-to-end pipeline for ingesting and analyzing Message Hub data within IBM Cloud.

Bridges are a standard feature of MH which allow you to easily send your event streams from MH to other IBM Cloud services for consumption. You can set up a COS bridge with a few mouse clicks as shown below, and you don’t need any programming knowledge.

When you create a bridge in Message Hub (MH), you’ll now see a new Cloud Object Storage option:

In order to create a bridge, you need to specify the bridge name, the MH topic where the messages originate, and COS bucket where the messages will be stored. The upload thresholds determine how often objects are uploaded, and the partitioning type determines the object naming convention used.

For convenience, you can copy the JSON credentials from your COS account and paste them in the window below.

Alternatively, you can fill in the various fields as below

When you’ve completed these steps, the bridge is created. The COS bucket is also created if it didn’t already exist. At this point messages will be continuously uploaded from the chosen topic to the specified COS bucket.

The data can now be further transformed and analyzed using a variety of services including the IBM Data Science ExperienceIBM Analytics for Apache Spark, the IBM Data Refinery, IBM Watson Machine Learning, and the IBM Analytics Engine.

Get started with Message Hub and Cloud Object Storage today.

Full documentation for the COS bridge is available here.

More Storage stories
December 14, 2018

Introducing a New Cloud Backup Service: IBM Cloud Backup

Introducing a cloud backup service that makes recovering your data much easier. IBM Cloud Backup is a fully-automated solution that allows users to worry less about "What if?" and more on "What next?"

Continue reading

November 26, 2018

IBM Cloud Expands Availability of its Intel® Xeon® 2600 v3 Family Bare Metal Servers Closeout Pricing Promotion

IBM Cloud is expanding the data centers and inventory included in its current Intel® Xeon® 2600 v3 family bare metal servers close-out pricing promotion.

Continue reading

November 19, 2018

Create a Presigned URL to Download an Object in Python 3.x

In one of my serverless (IBM Cloud Functions) proof of concepts, I had an idea of creating a pre-signed URL. Presigned URLs create a temporary link that can be used to share an object publicly.

Continue reading