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 2020/11/25 19:43:41 UTC

[GitHub] [camel-kafka-connector] hguerrero opened a new issue #738: Missing timestamp information

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


   The connectors like the Timer one, are missing the information regarding Timestamp. So, when trying to use a transformation like InsertField `timestamp.field` it won't work as the information is missing.
   
   Example:
   
   ```
   {
       "name": "timer",
       "config": {
           "connector.class": "org.apache.camel.kafkaconnector.timer.CamelTimerSourceConnector",
           "topics": "camel.timer.1",
           "camel.source.path.timerName": "timer",
           "key.converter": "org.apache.kafka.connect.storage.StringConverter",
           "value.converter": "org.apache.kafka.connect.json.JsonConverter",
           "value.converter.schemas.enable": "false",
           "tasks.max": "1",
           "transforms": "HoistField,InsertField",
           "transforms.HoistField.type": "org.apache.kafka.connect.transforms.HoistField$Value",
           "transforms.HoistField.field": "timer",
           "transforms.InsertField.type": "org.apache.kafka.connect.transforms.InsertField$Value",
           "transforms.InsertField.timestamp.field": "ts"
       }
   }
   ```


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

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



[GitHub] [camel-kafka-connector] valdar closed issue #738: Missing timestamp information

Posted by GitBox <gi...@apache.org>.
valdar closed issue #738:
URL: https://github.com/apache/camel-kafka-connector/issues/738


   


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

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



[GitHub] [camel-kafka-connector] oscerd commented on issue #738: Missing timestamp information

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


   You need to check the record headers


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

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



[GitHub] [camel-kafka-connector] oscerd commented on issue #738: Missing timestamp information

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


   If you print the source record coming from a timer there will be a timestamp with CamelHeader.* as prefix


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

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