diff --git a/jpo-deduplicator/pom.xml b/jpo-deduplicator/pom.xml index 25a15bd..47ff3df 100644 --- a/jpo-deduplicator/pom.xml +++ b/jpo-deduplicator/pom.xml @@ -291,4 +291,46 @@ + + + package-jar + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + + true + lib/ + + us.dot.its.jpo.deduplicator.DeduplicatorApplication + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + repackage + none + + + + + + + + + + + github + GitHub Packages + https://maven.pkg.github.com/${github_organization}/jpo-deduplicator + + diff --git a/sample.env b/sample.env index 35cbb87..fa66e3c 100644 --- a/sample.env +++ b/sample.env @@ -1,7 +1,20 @@ ### COMMON variables - START ### # (Required) The IP address of Docker host machine which can be found by running "ifconfig" # Hint: look for "inet addr:" within "eth0" or "en0" for OSX -DOCKER_HOST_IP="" + + +# Set the HOST IP of where the containers are running +DOCKER_HOST_IP= + +# Set to the directory where the source code is. Generally the location of this file. +DOCKER_HOST_DIR= + + +KAFKA_BOOTSTRAP_SERVERS=${DOCKER_HOST_IP}:9092 + +# GitHub properties for pulling the latest version of the JPO-ODE +MAVEN_GITHUB_TOKEN= +MAVEN_GITHUB_ORG=usdot-jpo-ode # Docker compose restart policy: https://docs.docker.com/engine/containers/start-containers-automatically/ @@ -9,19 +22,59 @@ RESTART_POLICY="on-failure:3" # Available profiles: # - all +# - deduplicator # - deduplicator -# - deduplicator -# - deduplicator -# EXAMPLE: COMPOSE_PROFILES=deduplicator + +# Available profiles: +# - all +# - cm_api_full +# - conflictmonitor +# - geojsonconverter +# - cm_gui +# - cm_api +# - keycloak +# - mongo +# - ode +# - adm +# - kafka +# - cm_base +# - conflictmonitor-build +# - cm_build +# - conflictmonitor-build +# - cm_release +# - conflictmonitor-release +# - ode_geojsonconverter +# - geojsonconverter +# - ode +# - adm + COMPOSE_PROFILES=deduplicator +# Set to "CONFLUENT" if broker is a Confluent Cloud broker +KAFKA_TYPE= + +# Set to actual Confluent Cloud access key and secret values for SASL authentication +CONFLUENT_KEY= +CONFLUENT_SECRET= + + ### COMMON variables - END ### ### KAFKA variables - START ### KAFKA_BOOTSTRAP_SERVERS=${DOCKER_HOST_IP}:9092 +KAFKA_LOG_RETENTION_HOURS=3 +KAFKA_LOG_RETENTION_BYTES=10737418240 # 10GB + +# Variables for creating kafka topics: +KAFKA_TOPIC_PARTITIONS=1 +KAFKA_TOPIC_REPLICAS=1 +KAFKA_TOPIC_MIN_INSYNC_REPLICAS=1 +KAFKA_TOPIC_RETENTION_MS=300000 +KAFKA_TOPIC_DELETE_RETENTION_MS=3600000 +### KAFKA variables - END ### ### DEDUPLICATOR variables - START ###