Access Oracle Event Hub Kafka from External Kafka Client or Tool

Access Oracle Event Hub from external Tool or Command-Line Client

Oracle Event Hub provides a managed Kafka PaaS solution. To access it from an on-premises client you have to make sure to enable the ports to Event Hub Zookeeper and the Kafka broker.

Access to Kafka Broker

First lets enable access to Kafka broker. To do so, check the OPC Event Hub service for the connect string.

Create Event Hub Broker Access Rule

Then create a new access rule. Warning: In general you should not allow public access to access your Event Hub service! This is just for demo purposes to make the tool work. In case of doubt create a rule with your own IP address and talk your friendly security officer first of all.

The creation of the rule might take a few seconds:

Create Zookeeper Access Rule

Once the rule for the Kafka broker is created, we need to create a rule for Zookeeper which is using port 2181:

Explore Kafka Tool (or other)

Now lets start our Kafka tool (for demonstration purpose) only, configure the connection details for the Zookeeper IP and port, and then try to connect to Oracle Event Hub Service:

Voila, it is working ūüôā You can explore your topics or even create new ones. Note that ¬†Oracle Event Hub uses a special naming convention for topics.

Application Container Cloud Service (ACCS): Invalid Subscription. Please contact oracle support.

This error messages shows up with the Application Container Cloud Service (ACCS) if you did not set the replication policy for the Oracle Storage Cloud Service. Actually I remember that there was a time when the solution how to fix the issue was not included.

ACC Error. Oracle Cloud

Now we are better off, just read the documentation included in the error message link, or see below:

Should this happen? Here is my take (in progress).

Good news is, that you can fix it easily by setting the replication policy for the Storage Service.

Oracle Cloud: ICS

Quite a while ago (a year before Larry announced the Oracle Public Cloud) I wrote about SaaS applications and a¬†service bus PaaS to interconnect services: “…¬†services are integrated and virtualized by a service bus in the cloud and orchestrated by a workflow system in the cloud [Oracle Middleware and Cloud Computing]¬†“.

Back then¬†it almost seemed like building¬†castles in Spain.¬†Indeed it took several years to build the PaaS service – yet today Thomas Kurian and Larry Ellison¬†announce Oracle’s ICS.¬†Now it’s out there with all the agility that comes with a cloud based solution.

It’s the cloud! So get a test account, play with it, scale it and try to break it!

Let me know what you think using @frankmunz and add: @soacommunity.

photo: F.M.