Skip to content

Commit e002f80

Browse files
authored
Add new schema sample and remove classic plan references (#63)
1 parent 9fa3fff commit e002f80

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1388
-217
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ rest-nodejs-express-sample/node_modules
77
*.iml
88
.idea
99
gradle*
10+
.gradle

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ IBM Event Streams can be provisioned on IBM Cloud® in various pricing plans. Pl
1717
__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.
1818

1919
## Connecting to your Event Streams for IBM Cloud Cluster
20-
In each sample, we demonstrate a single connection path for both our Classic and 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](https://cloud.ibm.com/docs/services/EventStreams?topic=eventstreams-connecting#connecting) that discusses credential generation in detail and showing you all possible ways of doing this.
20+
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](https://cloud.ibm.com/docs/services/EventStreams?topic=eventstreams-connecting#connecting) that discusses credential generation in detail and showing you all possible ways of doing this.
2121

2222
## Our APIs and Sample Applications
2323

kafka-0.9/message-hub-login-library/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Binary file not shown.

kafka-0.9/message-hub-login-library/messagehub.login-1.0.0.jar.asc

Lines changed: 0 additions & 11 deletions
This file was deleted.

kafka-java-console-sample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ It can be run locally on your machine or deployed into [IBM Cloud](https://cloud
55

66
For help with additional deployment modes, please refer to our [connection guide](https://cloud.ibm.com/docs/services/EventStreams?topic=eventstreams-connecting#connecting).
77

8-
__Important Note__: This sample creates a topic with one partition on your behalf. On the Classic and Standard plan, this will incur a fee if the topic does not already exist.
8+
__Important Note__: This sample creates a topic with one partition on your behalf. On the Standard plan, this will incur a fee if the topic does not already exist.
99

1010
## Running the application
1111

kafka-java-console-sample/docs/CF_Classic_Plan.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

kafka-java-console-sample/docs/Cloud_Foundry.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To build and run the sample, you must have the done the following:
1010
* Install [Gradle 4+](https://gradle.org/)
1111
* Install Java 7+
1212

13-
## Classic or Standard/Enterprise Plan?
13+
## Standard/Enterprise Plan?
1414

1515
**It's important to know which Event Streams for IBM Cloud plan you're using as the sample deployment steps are subtly different on each plan respectively.**
1616

@@ -20,14 +20,13 @@ If you are not sure what type of Event Streams for IBM Cloud instance you have t
2020

2121
*Please make sure you are in the appropriate Region, Account, Organization and Space where you provisioned your Event Streams instance!*
2222

23-
* Event Streams for IBM Cloud Classic plan services are "Cloud Foundry Services" with the plan column showing "Classic".
2423
* Event Streams for IBM Cloud Standard plan services are "Services" with the plan column showing "Standard".
2524
* Event Streams for IBM Cloud Enterprise plan services are "Services" with the plan column showing "Enterprise".
2625

2726

2827
## Deploy the Application
2928

30-
As the Classic and Standard/Enterprise Plan deployment steps are subtly different, we split the deployment steps into separate sections. Please navigate to the appropriate page(s):
29+
The deployment for the Standard/Enterprise Plan can be found in the links listed below
3130

3231
### [Classic Plan Deployment Guide](CF_Classic_Plan.md)
3332

kafka-java-console-sample/src/main/java/com/eventstreams/samples/ProducerRunnable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void run() {
7070
try {
7171
while (!closing) {
7272
String key = "key";
73-
String message = "This is a test message #" + producedMessages;
73+
String message = "{\"message\":\"This is a test message #\",\"message number\":" + producedMessages + "}";
7474

7575
try {
7676
// If a partition is not specified, the client will use the default partitioner to choose one.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/build
2+
/bin
3+
/lib
4+
.gradle
5+
/.settings/
6+

0 commit comments

Comments
 (0)