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/09/03 04:40:43 UTC

[GitHub] [camel-kafka-connector] oscerd edited a comment on issue #414: High CPU Usage with RabbitMQ Connector (polling interface implemented incorrectly?)

oscerd edited a comment on issue #414:
URL: https://github.com/apache/camel-kafka-connector/issues/414#issuecomment-686247918


   I tested the connector yesterday for about 40 minutes with this configuration
   
   ```
   name=CamelRabbitmqSourceConnector
   connector.class=org.apache.camel.kafkaconnector.rabbitmq.CamelRabbitmqSourceConnector
   key.converter=org.apache.kafka.connect.storage.StringConverter
   value.converter=org.apache.kafka.connect.storage.StringConverter
   
   camel.source.maxPollDuration=10000
   
   topics=test26
   
   camel.component.rabbitmq.hostname=172.17.0.2
   camel.component.rabbitmq.portnumber=5672
   camel.source.path.exchangeName=queue
   camel.source.endpoint.exchangeType=topic
   camel.source.endpoint.autoDelete=false
   camel.source.endpoint.queue=queue
   camel.source.endpoint.routingKey=key
   ```
   The connector didn't consume because nothing was in RabbitMQ. This is the result with Java VisualVM
   
   ![general](https://user-images.githubusercontent.com/5106647/92071761-e4171880-edaf-11ea-866d-4f1dda7e6661.png)
   
   And the monitoring part
   
   ![jvisualvm](https://user-images.githubusercontent.com/5106647/92071773-eda08080-edaf-11ea-9af4-790acd473c21.png)
   
   As you can see the CPU is constantly at 12%.
   
   How are you checking the used resources? Through top? Are you using the top irix mode?


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