Skip to content

Commit

Permalink
chore(confluent-kafka): lint
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Sampson <[email protected]>
  • Loading branch information
EyeCantCU committed Mar 22, 2024
1 parent a72e2a5 commit c1c6753
Showing 1 changed file with 0 additions and 66 deletions.
66 changes: 0 additions & 66 deletions confluent-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,69 +93,3 @@ update:
version-transform:
- match: ^(.+)\-(\d+)$
replace: $1.$2

# TODO: This test fails in CI but does not fail locally. We are commenting out
# for now as this is long overdue, and we'll loop back in a separate work item.
# test:
# environment:
# contents:
# packages:
# - busybox
# - openjdk-17-default-jvm
# - netcat-openbsd
# - confluent-common-docker
# - confluent-common-docker-ub
# - confluent-common-docker-base
# - confluent-docker-utils
# - confluent-kafka-images-kafka
# pipeline:
# - runs: |
# export \
# COMPONENT="kafka" \
# KAFKA_NODE_ID=1 \
# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP='CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT' \
# KAFKA_ADVERTISED_LISTENERS='PLAINTEXT://kafka-kraft:29092,PLAINTEXT_HOST://localhost:9092' \
# KAFKA_JMX_PORT=9101 \
# KAFKA_JMX_HOSTNAME=localhost \
# KAFKA_PROCESS_ROLES='broker,controller' \
# KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 \
# KAFKA_CONTROLLER_QUORUM_VOTERS='1@kafka-kraft:29093' \
# KAFKA_LISTENERS='PLAINTEXT://kafka-kraft:29092,CONTROLLER://kafka-kraft:29093,PLAINTEXT_HOST://0.0.0.0:9092' \
# KAFKA_INTER_BROKER_LISTENER_NAME='PLAINTEXT' \
# KAFKA_CONTROLLER_LISTENER_NAMES='CONTROLLER' \
# CLUSTER_ID='MkU3OEVBNTcwNTJENDM2Qk'

# set +e
# echo "Starting entrypoint for Kraft..."
# logs=$(timeout 5 /etc/confluent/docker/run 2>&1)
# set -e

# # Use assert_true for conditions that should be true
# assert_true() {
# local assert="$1"
# if ! echo "$logs" | grep -q "$assert"; then
# echo "Did not find '$assert' in logs"
# echo "$logs"
# exit 1
# fi
# }

# # Use assert_false for conditions that should be false
# assert_false() {
# local assert="$1"
# if echo "$logs" | grep -q "$assert"; then
# echo "Found '$assert' in logs"
# echo "$logs"
# exit 1
# fi
# }

# # Ensure all required Java libs are available in the classpath
# assert_false "Could not find or load main class"
# assert_false "java.lang.ClassNotFoundException"

# assert_true "Configuring"
# assert_true "Running preflight checks"
# assert_true "Running in KRaft mode, skipping Zookeeper health check"
# assert_true "Starting (org.apache.kafka.raft.KafkaRaftClientDriver)"
# assert_true "Registered the listener"

0 comments on commit c1c6753

Please sign in to comment.