You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You connector is probably one of the better explained connectors available and I really appreciate the work you have put into this. Unfortunately, I am having a problem getting it to process files.
The configurations are all provided below. My understanding is that when I add files to "/data" that I would see their contents in my topic ("sample-topic"), but they are not being processed.
Any ideas are appreciated!
The property file is setup as suggested (I am only using text files, located in "/data"):
I have build the connector docker image and updated it for confluence platform v6.2.0:
FROM confluentinc/cp-kafka-connect-base:6.2.0
ARG PROJECT_VERSION
ENV CONNECT_PLUGIN_PATH="/usr/share/java,/usr/share/confluent-hub-components"
COPY ./staging/mmolimar-kafka-connect-fs-${PROJECT_VERSION}.zip /tmp/kafka-connect-fs.zip
RUN confluent-hub install --no-prompt /tmp/kafka-connect-fs.zip
I can see the connector (the first in the list):
curl -sX GET http://localhost:8083/connector-plugins | grep FsSourceConnector
[{"class":"com.github.mmolimar.kafka.connect.fs.FsSourceConnector","type":"source","version":"1.3.0"},{"class":"org.apache.kafka.connect.file.FileStreamSinkConnector","type":"sink","version":"6.2.0-ccs"},{"class":"org.apache.kafka.connect.file.FileStreamSourceConnector","type":"source","version":"6.2.0-ccs"},{"class":"org.apache.kafka.connect.mirror.MirrorCheckpointConnector","type":"source","version":"1"},{"class":"org.apache.kafka.connect.mirror.MirrorHeartbeatConnector","type":"source","version":"1"},{"class":"org.apache.kafka.connect.mirror.MirrorSourceConnector","type":"source","version":"1"}]
And I have made minor changes to the docker-compose file (update to 6.2.0, and added a volume to the connector to map to "/data" (which I confirmed is visible to connect):
Now that things have successfully started, I have created the topic ("sample-topic") as named in the properties file, and then moved files into "/data", but nothing appears in "sample-topic".
The text was updated successfully, but these errors were encountered:
What are the filenames you have in that directory? Have you tried with another policy such as Sleepy or Cron policy? What can you see in the connector logs?
You connector is probably one of the better explained connectors available and I really appreciate the work you have put into this. Unfortunately, I am having a problem getting it to process files.
The configurations are all provided below. My understanding is that when I add files to "/data" that I would see their contents in my topic ("sample-topic"), but they are not being processed.
Any ideas are appreciated!
The property file is setup as suggested (I am only using text files, located in "/data"):
I have build the connector docker image and updated it for confluence platform v6.2.0:
I can see the connector (the first in the list):
And I have made minor changes to the docker-compose file (update to 6.2.0, and added a volume to the connector to map to "/data" (which I confirmed is visible to connect):
Now that things have successfully started, I have created the topic ("sample-topic") as named in the properties file, and then moved files into "/data", but nothing appears in "sample-topic".
The text was updated successfully, but these errors were encountered: