apache / camel-kafka-connector

Camel Kafka Connector allows you to use all Camel components as Kafka Connect connectors
https://camel.apache.org
Apache License 2.0
152 stars 100 forks source link

Date templating not working in version 0.6.0 #812

Closed danrlyon closed 3 years ago

danrlyon commented 3 years ago

The date templating appears to be broken in v0.6.0

0.5.0

camel.sink.endpoint.keyName: ${date:now:yyyyMMdd-HHmmssSSS}-${exchangeId}

produces the files names with the date:

20201222-182321000-ID-phenocam-connect-connect-6c8fcdd487-t5l6k-1608661396609-0-23

0.6.0

camel.sink.endpoint.keyName: ${date:now:yyyyMMdd-HHmmssSSS}-${exchangeId}

produces this key name (keeps overwriting the file):

${date:now:yyyyMMdd-HHmmssSSS}-${exchangeId}

I'm using the AWS2 S3 Camel Kafka Connector.

oscerd commented 3 years ago

This has been fixed in 0.7.0 under vote

brokenjacobs commented 3 years ago

Do you have a link to the fix? Didn't see anything in the changelog.

oscerd commented 3 years ago

It is a fix coming from camel upstream release 3.7.0, so we are getting it while upgrading.

danrlyon commented 3 years ago

Excellent, thanks for the assistance!