Skip to content

Latest commit

 

History

History
executable file
·
80 lines (67 loc) · 1.97 KB

README.md

File metadata and controls

executable file
·
80 lines (67 loc) · 1.97 KB

Connect Kafka using Spring in JSON format

Reference Documentation

For further reference, please consider the following sections:

Additional Links

These additional references should also help you:

Build & Unit Test & Coverage & Static Analysis

$ docker-compose up build-penr-oz-kafka-spring

Integration Test

$ docker-compose up itest-penr-oz-kafka-spring

Run

$ docker-compose up penr-oz-kafka-spring

Debug

docker-compose.override.yml

version: '3'
services:
  penr-oz-kafka-spring:
    entrypoint: java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
    ports:
      - "5005:5005"

then

$ docker-compose up penr-oz-kafka-spring

finally use your favorite IDE to put breakpoints and connect to debugger e.g. Intellij Remote Java which requires a correct local JDK installed.

Stop

$ docker-compose stop

Clean

$ docker-compose down

docker-compose.override.yml

version: '3'
services:
  build-penr-oz-kafka-spring:
    command: clean

then

$ docker-compose up build-penr-oz-kafka-spring

Check/Health

docker-compose ps