Open farbodahm opened 6 months ago
To confirm:
@tabmatfournier Thanks for the answer:
@tabmatfournier We found the issue; a firewall rule in the VPC which the ECS cluster was deployed to was blocking the route to Confluent Schema Registry.
However it was really difficult for us to find the error as there was nothing getting sinked nor producing any errors or warnings regarding the connection issue.
If you agree, I can work on a PR to first check the connection to both Kafka Broker and Schema Registry to avoid confusion and making debugging hard.
Please let me know what do you think, Thanks.
I'm surprised there were no ERROR level logs indicating this already.
It should be related to the underlying Kafka library which is used for connecting to Kafka.
It accepts different TIMEOUT_MS
configs (like CONNECT_REQUEST_TIMEOUT_MS
and CONNECT_RETRY_BACKOFF_MS
) and it remains silent during the retrying phase.
I think that would make sense to easily first check if our execution environment has access to the broker and schema registry before directly initiating connection phase.
What do you think? If it makes sense for you I can add it.
hey @farbodahm can you please share your set_env.sh file?
Hey @shubhamsawantsjsu , It's just for running the image on ECS:
set -Eeuo pipefail
JSON=$(curl ${ECS_CONTAINER_METADATA_URI}/task)
echo $JSON
TASK=$(echo $JSON | jq -r '.Containers[0].Networks[0].IPv4Addresses[0]')
echo $TASK
CONNECT_REST_ADVERTISED_HOST_NAME=$TASK /etc/confluent/docker/run
Hey everyone; For a POC, we are trying to run the connector on an AWS ECS.
Connector is deployed and has a
RUNNING
state and is not printing any errors or exceptions; But it's not producing anything on Glue/S3 and it has a consumer lag of 3000 messages. Do you have any suggestions on how can we debug this? Thanks.Deployed task configuration:
Status of the connector:
Logs: log-events-viewer-result(2).csv
Docker Image we have created to run the connector on ECS:
And we are setting these variables on runtime:
CONNECT_VALUE_CONVERTER_SCHEMA_REGISTRY_URL
,CONNECT_VALUE_CONVERTER_SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO
,CONNECT_SASL_JAAS_CONFIG
,CONNECT_CONSUMER_SASL_JAAS_CONFIG
,CONNECT_PRODUCER_SASL_JAAS_CONFIG
,CONNECT_BOOTSTRAP_SERVERS
.