DaddyGao opened a new issue, #1490:
URL: https://github.com/apache/camel-kafka-connector/issues/1490

   Hi, I'm currently using the camel http sink connector to receive message 
from a Kafka broker and send message to consumers.
   The message comes with a compressed type, and seems http sink connector 
automatically decompresses the message and send it out, and I observed that the 
bytes out was obviously larger than the bytes in of the connector.
   I would like to compress the message in the connector, or disable the 
automatic compression, here are 2 ways I'm focusing on:
   
   1. I added the configuration provided in your doc: 
`camel.component.http.contentCompressionDisabled`. But there is no influence in 
the metrics of in/out bytes of the connector, neither no difference in CPU and 
Memory usage. If the automatic compression enabled/disabled, there should be at 
least changes in CPU and Memory usage I think.
   2. I'm searching for the support of Custom Headers so that I can add the 
compression type header in the message in http sink connector, but there is no 
such configuration option for http sink connector.
   
   Do you have any idea regarding this question? Thanks!
   


-- 
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-unsubscr...@camel.apache.org.apache.org

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

Reply via email to