You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/10/24 14:11:31 UTC

[GitHub] [camel-kafka-connector] ShaniAvnaim opened a new issue #1274: Camel AWS S3 source connector

ShaniAvnaim opened a new issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274


   Hello,
   
   I have some issue with AWS S3 Connector.
   Every file i saw twice (or more) in my Kafka cluster. It's the same topic, file name, Timestamp, etc. The only difference is the creation time in the Kafka.
   
   I have additional question - in general, what is the concept of message processing guarantees of this connector?
   
   Thank you


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950873541


   In this particular case I don't see anything related to schema registry in the configuration. This project is tested on Apache Kafka, not on Confluent Kafka, so I'll need some time to setup a reproducer and eventually check.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950699605


   The bucket is very simple.
   I use AWS Transfer Family as SFTP Server that connect to one S3 Bucket with one folder (prefix) inside.
   And then the S3 Connector take the file from the bucket/folder and insert to the kafka
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950732820


   I tried includeFolder=true and i got the same issue.
   Also, I thought it was related to uploading a file to a folder in Bucket, but i got the same issue when i uploading a file directly to /


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950335798


   You need to specify the option deleteAfterRead or moveAfterRead to remove entries from the bucket and avoid to consume them again


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950777093


   Just tried with 4 files inside a test folder, all of them have been removed and in my kafka topic I saw 4 records (a fresh kafka instance). So it's something on your side.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950687688


   Can you show the bucket structure? What is inside? I cannot reproduce by the way.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim edited a comment on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim edited a comment on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950810120


   Are you using schema-registry of Confluent? I saw other issue in StackOverflow that looks like mine...


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950351300


   Just one, its a test env
   
   On Sun, 24 Oct 2021 at 18:51 Andrea Cosentino ***@***.***>
   wrote:
   
   > How many instances?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950348415>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ADBAA7NHNFKZWSXBBNVTHEDUIQTR5ANCNFSM5GTQA4WQ>
   > .
   > Triage notifications on the go with GitHub Mobile for iOS
   > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
   > or Android
   > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
   >
   >
   -- 
   Shani Harush
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950684400


   The latest one from Camel site. i think it 0.11
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950352024


   Never seen this before. What is the connector version?
   
   Il dom 24 ott 2021, 18:10 ShaniAvnaim ***@***.***> ha scritto:
   
   > Just one, its a test env
   >
   > On Sun, 24 Oct 2021 at 18:51 Andrea Cosentino ***@***.***>
   > wrote:
   >
   > > How many instances?
   > >
   > > —
   > > You are receiving this because you authored the thread.
   > > Reply to this email directly, view it on GitHub
   > > <
   > https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950348415
   > >,
   > > or unsubscribe
   > > <
   > https://github.com/notifications/unsubscribe-auth/ADBAA7NHNFKZWSXBBNVTHEDUIQTR5ANCNFSM5GTQA4WQ
   > >
   > > .
   > > Triage notifications on the go with GitHub Mobile for iOS
   > > <
   > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
   > >
   > > or Android
   > > <
   > https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
   > >.
   > >
   > >
   > --
   > Shani Harush
   >
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950351300>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ABG6XV6P7XFIECJZJ4NXUZLUIQVYBANCNFSM5GTQA4WQ>
   > .
   >
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950348415


   How many instances?


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950810120


   Are you use schema-registry by Confluent? I saw other issue in StackOverflow that looks like mine...


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950848975


   Yes, that's what I'm trying.
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950337278


   I already use deleteAfterRead.
   The issue is when the connector takes a file from the bucket and inserts it
   more then one time to the topic.
   
   On Sun, Oct 24, 2021 at 5:33 PM Andrea Cosentino ***@***.***>
   wrote:
   
   > You need to specify the option deleteAfterRead or moveAfterRead to remove
   > entries from the bucket and avoid to consume them again
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950335798>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ADBAA7MLAOIKQ3OZERDSNJLUIQKMNANCNFSM5GTQA4WQ>
   > .
   > Triage notifications on the go with GitHub Mobile for iOS
   > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
   > or Android
   > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
   >
   >
   
   
   -- 
   Shani Harush
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] ShaniAvnaim commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
ShaniAvnaim commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950341110


   {
   "name": "S3Connector",
   "config": {
   "connector.class":
   "org.apache.camel.kafkaconnector.aws2s3.CamelAws2s3SourceConnector",
   "key.converter": "org.apache.kafka.connect.storage.StringConverter",
   "value.converter": "org.apache.kafka.connect.converters.ByteArrayConverter",
   "camel.source.path.bucketNameOrArn": "bucket",
   "camel.source.endpoint.prefix": "test",
   "camel.source.endpoint.region": "eu-west-1",
   "camel.source.endpoint.accessKey": "",
   "camel.source.endpoint.secretKey": "",
   "camel.source.endpoint.deleteAfterRead": "true",
   "camel.source.endpoint.includeFolders": "false",
   "topics": "s3"
   }
   }
   
   On Sun, Oct 24, 2021 at 5:53 PM Andrea Cosentino ***@***.***>
   wrote:
   
   > Please report the configuration
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950338821>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ADBAA7PDUECFMGN5DM4SA7DUIQMYDANCNFSM5GTQA4WQ>
   > .
   > Triage notifications on the go with GitHub Mobile for iOS
   > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
   > or Android
   > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
   >
   >
   
   
   -- 
   Shani Harush
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950712730


   Can you please try with includeFolder equals to true.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950338821


   Please report the configuration 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1274: Camel AWS S3 source connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1274:
URL: https://github.com/apache/camel-kafka-connector/issues/1274#issuecomment-950846718


   No. Are you running on confluent Kafka with confluent schema?


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org