-
Notifications
You must be signed in to change notification settings - Fork 124
Run Demo & local development setup with IntelliJ IDEA
As an alternative to the dockerized run, here's a way how to setup your project with Intellij IDEA using external services you may already have installed.
Prerequisites:
-
Cassandra is running at cassandraserver (tested with v. 2.1.3) create keyspace text here
-
MongoDB is running at mongoserver (tested with v. 2.6.7)
-
Zookeeper is running at zkserver (tested with v. 3.4.6)
-
Kafka is running at kafkaserver (tested with v. 2.10-0.8.1.1)
192.168.0.1 zkserver 192.168.0.1 mongoserver 192.168.0.1 kafkaserver 192.168.0.1 cassandraserver
Main class: com.ebay.jetstream.application.JetstreamApplication
VM options: -Dpulsar.runtime.kafka.brokers=kafkaserver:9092 -Dpulsar.runtime.kafka.zk=kafkaserver:2181 -Djetstream.runtime.zkserver.host=zkserver -Djetstream.runtime.zkserver.port=2181 -Djetstream.runtime.netmask=YOUR_LOCAL_IP/24
Program arguments: -p 8001 -n "replay pulsar app" -cv "1.0"
Working directory: PATH_TO/realtime-analytics/replay
Environment variables:
JETSTREAM_HOME = PATH_TO/realtime-analytics/replay/buildsrc
MONGO_HOME = mongo://mongoserver:27017/config
Use classpath of module: replay
Main class: com.ebay.jetstream.application.JetstreamApplication
VM options: -Dpulsar.runtime.kafka.brokers=kafkaserver:9092 -Djetstream.runtime.zkserver.host=zkserver -Djetstream.runtime.zkserver.port=2181 -Djetstream.runtime.netmask=YOUR_LOCAL_IP/24
Program arguments: -p 8002 -n "collector app" -cv "1.0"
Working directory: PATH_TO/realtime-analytics/collector
Environment variables:
JETSTREAM_HOME = PATH_TO/realtime-analytics/collector/buildsrc
Use classpath of module: collector
- Web Site: http://gopulsar.io
- Google Group: Pulsar Google Group
- Developer Mail: [email protected]
- White Paper: Pulsar White Paper