File tree Expand file tree Collapse file tree 4 files changed +5
-12
lines changed
kafka-connect-fitbit-source
kafka-connect-oura-source Expand file tree Collapse file tree 4 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 77
88max_timeout=32
99
10-
1110IS_TEMP=0
1211
12+ echo " ===> Wait for infrastructure ..."
13+
1314if [ -z " $COMMAND_CONFIG_FILE_PATH " ]; then
1415 COMMAND_CONFIG_FILE_PATH=" $( mktemp) "
1516 IS_TEMP=1
Original file line number Diff line number Diff line change @@ -33,14 +33,6 @@ if [ "$KAFKA_JMX_PORT" ]; then
3333 export JMX_PORT=$KAFKA_JMX_PORT
3434 export KAFKA_JMX_OPTS=" $KAFKA_JMX_OPTS -Djava.rmi.server.hostname=$KAFKA_JMX_HOSTNAME -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.port=$JMX_PORT "
3535fi
36- #
37- # # Busy waiting loop that waits until all topic are available
38- echo " ===> Wait for infrastructure ..."
39- kafka-wait
40- radar_check=$?
41- if [ " $radar_check " -ne 0 ]; then
42- exit $radar_check
43- fi
4436
4537echo " ===> Launching ${COMPONENT} ..."
4638# Add our jar to the classpath so that the custom classes can be loaded first.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN yum install -y zulu17-ca-jdk-headless && yum install -y zulu17-ca-jre-headle
4141
4242USER appuser
4343
44- MAINTAINER Joris Borgdorff <joris @thehyve.nl>
44+ MAINTAINER Pim van Nierop <pim @thehyve.nl>
4545
4646LABEL description="Kafka REST API Source connector"
4747
@@ -57,7 +57,7 @@ COPY --from=builder /code/kafka-connect-rest-source/build/libs/*.jar ${CONNECT_P
5757COPY --from=builder /code/kafka-connect-fitbit-source/build/libs/*.jar ${CONNECT_PLUGIN_PATH}/kafka-connect-fitbit-source/
5858
5959# Load topics validator
60- COPY --chown=appuser:appuser ./docker/kafka-wait /usr/bin/kafka-wait
60+ COPY --chown=appuser:appuser ./docker/ensure /etc/confluent/docker/ensure
6161
6262# Load modified launcher
6363COPY --chown=appuser:appuser ./docker/launch /etc/confluent/docker/launch
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ COPY --from=builder /code/kafka-connect-oura-source/build/libs/*.jar ${CONNECT_P
5656COPY --from=builder /code/oura-library/build/libs/*.jar ${CONNECT_PLUGIN_PATH}/kafka-connect-oura-source/
5757
5858# Load topics validator
59- COPY --chown=appuser:appuser ./docker/kafka-wait /usr/bin/kafka-wait
59+ COPY --chown=appuser:appuser ./docker/ensure /etc/confluent/docker/ensure
6060
6161# Load modified launcher
6262COPY --chown=appuser:appuser ./docker/launch /etc/confluent/docker/launch
You can’t perform that action at this time.
0 commit comments