Skip to content

Commit d39956c

Browse files
committed
Suppress error caused by native 'ensure' script
Includes addition to documentation.
1 parent ec081cb commit d39956c

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

docker/kafka-wait renamed to docker/ensure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ fi
77

88
max_timeout=32
99

10-
1110
IS_TEMP=0
1211

12+
echo "===> Wait for infrastructure ..."
13+
1314
if [ -z "$COMMAND_CONFIG_FILE_PATH" ]; then
1415
COMMAND_CONFIG_FILE_PATH="$(mktemp)"
1516
IS_TEMP=1

docker/launch

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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"
3535
fi
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

4537
echo "===> Launching ${COMPONENT} ..."
4638
# Add our jar to the classpath so that the custom classes can be loaded first.

kafka-connect-fitbit-source/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN yum install -y zulu17-ca-jdk-headless && yum install -y zulu17-ca-jre-headle
4141

4242
USER appuser
4343

44-
MAINTAINER Joris Borgdorff <joris@thehyve.nl>
44+
MAINTAINER Pim van Nierop <pim@thehyve.nl>
4545

4646
LABEL description="Kafka REST API Source connector"
4747

@@ -57,7 +57,7 @@ COPY --from=builder /code/kafka-connect-rest-source/build/libs/*.jar ${CONNECT_P
5757
COPY --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
6363
COPY --chown=appuser:appuser ./docker/launch /etc/confluent/docker/launch

kafka-connect-oura-source/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ COPY --from=builder /code/kafka-connect-oura-source/build/libs/*.jar ${CONNECT_P
5656
COPY --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
6262
COPY --chown=appuser:appuser ./docker/launch /etc/confluent/docker/launch

0 commit comments

Comments
 (0)