You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2023/08/29 15:44:16 UTC

[GitHub] [camel-kafka-connector] oscerd commented on issue #1560: How to create an object in s3 bucket using camle-minio-sink plugin

oscerd commented on issue #1560:
URL: https://github.com/apache/camel-kafka-connector/issues/1560#issuecomment-1697706287

   You need to use an header with the minio sink Kamelet.
   
   Supposing you're using kafkacat while moving the file, you should set a kafka header in your record:
   
   ./kafkacat -P -b localhost:9092 -t mytopic -H "CamelHeader.CamelMinioObjectName=fileName" 
   
   And the record value will be stored.
   
   I'll add the ability to set the objectName statically too in the Kamelet.


-- 
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