mgpradeepa commented on issue #14408:
URL: https://github.com/apache/iceberg/issues/14408#issuecomment-3460112412

   > It is difficult to identify the issue without seeing your build artefact: 
specifically, the Dockerfile that shows the base images and how you prepared 
the plugin and path.
   > 
   > Since you're not seeing the connector class, the Connect worker is either 
looking in the wrong location or failing to load the files it finds.
   > 
   > If you're using a standard Confluent image (like 
`confluentinc/cp-kafka-connect`), verify the plugin path by checking the 
`CONNECT_PLUGIN_PATH` environment variable within your container. This should 
help you narrow down whether this is a pathing issue or a loading issue.
   
   Hi @cspoppuppy  The docker image that I build is a simple
   ENV mount_dir=/connectors/
   
   RUN mkdir -p $mount_dir/kafka-iceberg-sink
   #COPY target/datalake-sink-connector/iceberg-kafka-connect-runtime-1.0.0/lib 
$mount_dir/kafka-iceberg-sink/
   
   Environment variable CONNECT_PLUGIN_PATH points to 
/etc/kafka-connect/connectors as mentioned earlier which looks fine. Other 
connectors are also loaded into the same path and working fine.
   Only icebergsinkconnector is not loading the classes for the connector. 
   
   I am also trying to build a shaded runtime jar (uber-jar) instead of zip and 
load. It loads the plugin but goes to wait and results in CrashLoopBackOff.  
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to