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 2022/08/18 08:11:57 UTC
[GitHub] [camel-kamelets] tplevko opened a new issue, #1005: Azure Eventhubs Sink - partition parameter
tplevko opened a new issue, #1005:
URL: https://github.com/apache/camel-kamelets/issues/1005
The partition parameter in [Azure Eventhub Sink](https://camel.apache.org/camel-kamelets/0.8.x/azure-eventhubs-sink.html) in the last version is specified as:
```The Kamelet checks for the `partition` / `ce-partition` header to determine how long an event remains in the Azure Storage queue. Use `PnDTnHnMn.nS.` format. For example, `PT20.345S` parses as 20.345 seconds and `P2D` parses as 2 days.```
This is IMHO counterintuitive, as the [partition_key](https://camel.apache.org/components/3.18.x/azure-eventhubs-component.html#_endpoint_header_CamelAzureEventHubsPartitionKey) and [partition_id](https://camel.apache.org/components/3.18.x/azure-eventhubs-component.html#_endpoint_header_CamelAzureEventHubsPartitionId) in the Azure Eventhub Camel component is used for different purpose.
Could the name of the parameter be improved to something more descriptive?
Also - could be used the partition parameter for specifying the partition to be used by the kamelet, as in the Azure Eventhub Camel component?
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-kamelets] oscerd closed issue #1005: Azure Eventhubs Sink - partition parameter
Posted by GitBox <gi...@apache.org>.
oscerd closed issue #1005: Azure Eventhubs Sink - partition parameter
URL: https://github.com/apache/camel-kamelets/issues/1005
--
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-kamelets] oscerd commented on issue #1005: Azure Eventhubs Sink - partition parameter
Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1005:
URL: https://github.com/apache/camel-kamelets/issues/1005#issuecomment-1243633852
For the first question yes, we can name the parameter in a different way. For having partitionId as parameter of Kamelet, I don't agree totally, it's something that makes much more sense to have as dynamic parameter than fixed.
--
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