Skip to content

Commit 3a3df73

Browse files
committed
Updates to the steps for using the CloudFormation template based on changes I made to the message producer at https://github.com/BillFarber/KafkaProducer.
1 parent 87ab7a8 commit 3a3df73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

AWS-CloudFormation/CloudFormation-QuickStart.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The three servers are the Kafka/Zookeeper server, the MarkLogic server, and a se
55
_This is not intended to be a description of setting up a production environment._
66

77
_All the resource files have been configure and compiled specifically for this example.
8-
In particular, IP addresses are in the config files (even in the Jar (sorry)_).
8+
In particular, IP addresses are in the config files._
99

1010
## Requirements
1111
* You just need to have an AWS account.
@@ -37,9 +37,10 @@ In particular, IP addresses are in the config files (even in the Jar (sorry)_).
3737
`sudo /opt/bitnami/kafka/bin/connect-standalone.sh /opt/bitnami/kafka/config/marklogic-connect-standalone.properties /opt/bitnami/kafka/config/marklogic-sink.properties`
3838

3939
## Generate some Messages
40+
This step uses the JAR file from a small project for producing test messages. It can be found in [my GitHub account](https://github.com/BillFarber/KafkaProducer)
4041
1. On the list of you AWS Instances, click on the instance named, "TemplateBased-Kafka-Worker-A".
4142
1. Copy the Public DNS (IPv4).
4243
1. Ssh to the TemplateBased-Kafka-Worker-A server.
4344
`ssh -i kafka.pem bitnami@<Public DNS>`
4445
1. Send some messages to the Kafka topic
45-
`java -jar /home/bitnami/kafka-producer-1.0-SNAPSHOT.jar -t 1 -m 1`
46+
`java -jar /home/bitnami/kafka-producer-1.0-SNAPSHOT.jar -c 4 -m 5 -h ip-172-31-48-44.ec2.internal:9092 -t marklogic`

0 commit comments

Comments
 (0)