+ All Categories
Home > Documents > Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs...

Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs...

Date post: 06-Aug-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
11
1 Provisioning the Oracle Event Hub Cloud Service Before You Begin Purpose In this tutorial, you learn to provision the Oracle Event Hub Cloud Service. There are three sections in this tutorial:- 1. Creating an Oracle Event Hub Cloud Service Cluster 2. Creating an Oracle Event Hub Cloud Service Topic 3. Providing Access to the Cluster Time to Complete 30 minutes Background Oracle Event Hub Cloud Service provides a highly available and scalable messaging platform. This service provides a distributed streaming data platform for Apache Kafka.. A Kafka instance is a compute cluster of one or more servers called nodes, that store streams of records (messages) in categories called topics. There are 3 key capabilities inherent in a Kafka Server: 1) It lets you publish and subscribe to the streams of records, in some ways similar to an email system. 2) It stores these streams of messages called records in a fault-tolerant way. 3) It allows for processing of these message streams as they occur. Users can spin up one or more clusters each with a set of associated topics. The Oracle Event Hub Cloud Service - Topic is a container to hold the stream records. A producer application creates or writes the messages, and a consumer application reads from these messages. What Do You Need? Before starting this tutorial, you should have: l Oracle Event Hub Cloud Service account login credentials
Transcript
Page 1: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

1

ProvisioningtheOracleEventHubCloudService

BeforeYouBegin

Purpose

Inthistutorial,youlearntoprovisiontheOracleEventHubCloudService.Therearethreesectionsinthistutorial:-1. CreatinganOracleEventHubCloudServiceCluster2. CreatinganOracleEventHubCloudServiceTopic3. ProvidingAccesstotheCluster

TimetoComplete

30minutes

Background

OracleEventHubCloudServiceprovidesahighlyavailableandscalablemessagingplatform.ThisserviceprovidesadistributedstreamingdataplatformforApacheKafka..AKafkainstanceisacomputeclusterofoneormoreserverscallednodes,thatstorestreamsofrecords(messages)incategoriescalledtopics.Thereare3keycapabilitiesinherentinaKafkaServer:

1) Itletsyoupublishandsubscribetothestreamsofrecords,insomewayssimilartoanemailsystem.

2) Itstoresthesestreamsofmessagescalledrecordsinafault-tolerantway.3) Itallowsforprocessingofthesemessagestreamsastheyoccur.

Userscanspinuponeormoreclusterseachwithasetofassociatedtopics.TheOracleEventHubCloudService-Topicisacontainertoholdthestreamrecords.Aproducerapplicationcreatesorwritesthemessages,andaconsumerapplicationreadsfromthesemessages.

WhatDoYouNeed?

Beforestartingthistutorial,youshouldhave:l OracleEventHubCloudServiceaccountlogincredentials

Page 2: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

2

Context

ThistutorialispartoftheNewDataLakeseriesOracleBigDataJourney.Thesequencetofollowis:Part1–CreatingyourBDCS-CEClusterPart2–Notebooks,ObjectStorage,andSparkPart3–ProvisioningtheOracleEventHubCloudServicePart4–WorkingwithOEHCS

Creating an Oracle Event Hub Cloud Service

Cluster

OntheSignIntoOracleCloudpage,enterthenameofyouridentitydomain.ClickGo.

Enteryourusernameandpassword.ClickSignIn.

Page 3: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

3

TheMyServicesdashboardopens.ClickEventHub–Dedicated.

OntheServiceDetailspage,clickOpenServiceConsole.

OntheServicespage,clickCreateService.

The Oracle Event Hub Cloud Service— Platform Create Service wizard starts and the Service page isdisplayed.

Page 4: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

4

OntheServicepage,provideaname,Kafka-Basic,anddescription,1NodeKafkaServer,forthecluster,andthenclickNexttoadvancetotheServiceDetailspage.

OntheServiceDetailspage,provideadditionalconfigurationparameters. DeploymentType–Basic,basicdeployment runsKafkabrokerandZookeeperon samenode(s). This istypicalfordevelopment/testclusters.SSHPublicKey–ClickEdittospecifythepublickey.Youcanuploadafilecontainingthepublickeyvalueifyouhavegeneratedakeypair. NumberofNodes–1ComputeShape–OC2m–2.0OCPU,30.0GBRAMUsableTopicStorage–50EnableRestAccess–unchecked,youdon’tneedtoenablerestaccessinthistutorial.ClickNext.

Page 5: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

5

OntheConfirmationpage,reviewtheinformationlisted.Ifyou'resatisfiedwithwhatyousee,clickCreatetocreatethecluster.Ifyouneedtochangesomething,clickPreviousatthetopofthewizardtostepbackthroughthepages,orclickCanceltocanceloutofthewizardwithoutcreatinganewcluster.

OntheServiceConsolepage,youcanseethatthestatusofKafka-Basic instanceisCreatingservice….Ittakessomeminutestocreateit. Refreshyourexploreraboutevery5minutestocheckthelateststatus.

OncetheKafka-Basicinstanceiscreated,clickthenameoftheinstance,Kafka-Basic,togototheServiceOverviewpage.

Page 6: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

6

On the ServiceOverviewpage, you can see the information of Statues,HostName, Public IP, Instancenameetc.Notice theConnect Descriptorelement. This is the host name that you will use while connecting totheKafka -Basicservice.Youwill learnhowtoconfigureaccessrules to theservices in thirdsectionofthistutorial.ClickOracleEventHubCloudService–PlatformatthetopleftcornertogototheServiceConsolepage.

CreatinganOracleEventHubCloudServiceTopic

OntheServicespageofOracleEventHubCloudService-Platform,clickthe iconatthetopleftcorner.

Page 7: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

7

ClickOracleEventHubCloudServiceinthepop-upmenu.

IntheServicespage,clickCreateService.

TheCreateServicescreenappears.Providethefollowingdetails.ServiceName:TopicAServiceDescription:FirstTopicforKafkaHostedOn:Kafka–Basic,

Page 8: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

8

NumberofPartitions:1RetentionPeriod(Hours):72Note:Kafka–Basic isthenameoftheOracleEventHubCloudService-Platformclusteryoucreatedintheprevioussectionofthistutorial. ClickNext.

OntheConfirmationpage,reviewtheinformationlisted.Ifyou'resatisfiedwithwhatyousee,clickCreatetocreatethetopic.

ThecontrolreturnstotheServicespage.IntheServicespage,youcouldnowseethenewTopicAservicehasbeencreated.Clickthemenuicon atthetopleftcorner.

Page 9: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

9

ClickOracleEventHubCloudService–Platforminthepop-upmenu.

ProvidingAccesstotheCluster

ThecontrolgoestotheServicespageofOracleEventHubCloudService–Platform.Clickthemenuicon

ontherightofKafka–Basicarea.

ClickAccessRulesinthepop-upmenu.

Page 10: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

10

TheAccessRulespageisdisplayed.ClickCreateRule.

TheCreateAccessRulescreenisdisplayed.Providethefollowingdetails.RuleName:ZookeeperInternetAccessDescription:AccessfrominternetanddesktopSource:PUBLIC_INTERNETDestination:kafka_ZK_SERVERDestinationPorts:2181Protocol:TCPNote:By default the native access to Kafka is blockeddue to security reasons. For the purpose of thistutorial,wewillopenituptopublicIP.However,whensettingupfordevelopment,test,orproduction,dorestrict the native access to specific IP Addresses. You can provide access to specific machines byprovidingtheiraddressinthesourcefield,orbyusingcustomrules.ClickCreate.

Page 11: Provisioning the Oracle Event Hub Cloud Service...Deployment Type – Basic, basic deployment runs Kafka broker and Zookeeper on same node(s). This is typical for development/test

11

Createthesecondruleinthesameway.IntheCreateAccessRulescreenwindow,providethefollowingdetails.RuleName:KafkaInternetAccessDescription:AccesstoKafkaservicefrominternetordesktopSource:PUBLIC_INTERNETDestination:kafka_KAFKA_SERVERDestinationPorts:6667Protocol:TCPClickCreate.ThenewlycreatedrulesarelistedintheAccessRulespage.

WanttoLearnMore?

• Oracle Event Hub Cloud Service

• Using Oracle Event Hub Cloud Service


Recommended