Skip to content

Testing ODELogger Plugin #194

paulbourelly999 edited this page May 24, 2021 · 3 revisions

Introduction

The ODELogger Plugin allows real-time message logging of J2735 messages to jpo-ode using the message broker Apache Kafka. The plugin uses librdkafka, a C/C++ client library to connect to a kafka broker running as a container with jpo-ode.

jpo-ode Setup

The first step is to setup ODE. Currently, we have an EC2 ODE instance on AWS. This is what I used to run ODE. After logging into AWS simply start the ODE instance and use the provided ssh command from the connect page. In order for this to work you will also need to download and move the ODE.pem file into the directory from which you run your ssh command.

After successfully connected to the ODE EC2 instance, navigate to the deploy/latest/jpo-ode/ directory. Here you will find the docker-compose file for running ODE. Before calling docker-compose up, us vi, vim or a text editor of your choice to open the .env file in this directory and ensure that the DOCKER_IP variable is set to the public IP for the EC2 ODE instance. This can be found on the AWS admin portal and changes on every restart of the instance. After correcting this value, run docker-compose up -d (detached mode to avoid logs of all the containers being started in terminal). This should bring up all the relevant containers. You should now be able to access the jpo-ode by navigating to :8080 on your browser.

Clone this wiki locally