Java Dev Env
- JDK8+
- Maven
You may also need to set the JAVA_HOME
& M2_HOME
in the run.sh
script.
This is the most important part of this project, most components are configured here.
You can specify which service account to use by simply set the path of the json file to load.
Once it has been configured. Run it :)
./run.sh
refer to this Gist for setting up the testing table.
This project will create the Topic and the Subscription for you, you can simply turn this off by set
google.pubsub.skip.init = true
in the config file. If you don't do it while the topic and the subscription is there, it will show you a clear runtime exeception and keep running.