You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "glew02 (via GitHub)" <gi...@apache.org> on 2023/02/13 23:00:14 UTC
[GitHub] [camel-kafka-connector] glew02 opened a new issue, #1507: camel-https-kafka-connector sink Dynamic Url Construction
glew02 opened a new issue, #1507:
URL: https://github.com/apache/camel-kafka-connector/issues/1507
Hi
Does the camel https kafka connector sink support dynamic url construction?
Specifically, can you add parameters to the HTTP API URL to have the connector construct a URL containing the parameters. For example, can you set **camel.sink.path.httpUri** to http://localhost:9200/api/messages/${guid} to have the HTTP API URL contain the string guid, where guid is referring to a field from the Kafka record?
So if you got a record:
{
"guid": "abcdefg"
}
the URL would be set to http://localhost:9200/api/messages/abcdefg
So for each record, a different URL could be set.
--
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