This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new f7acdb9  Added some documentation of how to start a local Kafka system 
... not 100% finished with the Kafka-Connect part though.
f7acdb9 is described below

commit f7acdb9ea18d79edecd49fb24e4b12755d775c3f
Author: Christofer Dutz <[email protected]>
AuthorDate: Wed Apr 10 10:44:37 2019 +0200

    Added some documentation of how to start a local Kafka system ... not 100% 
finished with the Kafka-Connect part though.
---
 integrations/apache-kafka/README.md | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/integrations/apache-kafka/README.md 
b/integrations/apache-kafka/README.md
index 6b646f2..b8ffe88 100644
--- a/integrations/apache-kafka/README.md
+++ b/integrations/apache-kafka/README.md
@@ -27,4 +27,32 @@ See `config/source.properties` for example configuration.
 
 ## Sink Connector
 
-See `config/sink.properties` for example configuration.
\ No newline at end of file
+See `config/sink.properties` for example configuration.
+
+## Quickstart
+
+1) Download the latest version of Apache Kafka binaries from here: 
https://kafka.apache.org/downloads
+2) Unpack the archive.
+3) Copy the target/apache-kafka-0.4.0-SNAPSHOT.jar to the Kafka "libs" 
directory.
+4) Copy the files in the "config" to Kafka's "configs" directory (maybe inside 
a "plc4x" subdirectory)
+5) Open 4 console windows and change directory into that directory
+6) Start Zookeeper: 
+        
+        bin/zookeeper-server-start.sh config/zookeeper.properties 
+7) Start Kafka:
+        
+        bin/kafka-server-start.sh config/server.properties
+8) Create the "test" topic:
+        
+        bin/kafka-topics.sh --create --bootstrap-server localhost:9092 
--replication-factor 1 --partitions 1 --topic test
+9) Start the consumer:
+        
+        bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 
--topic test --from-beginning
+
+**Note:** Not quite sure here ... have to continue working on this ...
+
+10) Start Kafka connect:
+        
+        bin/connect-standalone.sh config/connect-standalone.properties 
config/plc4x/source.properties
+
+Now watch the console window with the "kafka-console-consumer". 
\ No newline at end of file

Reply via email to