oscerd commented on issue #414:
URL:
https://github.com/apache/camel-kafka-connector/issues/414#issuecomment-686399944
After ten minutes of running I'm still
```
oscerd@ghost:~/workspace/miscellanea/docker-kafka-camel-rabbitmq-connector-cpu-usage-scenario$
bash setup.sh
Topic rabbitmqtest does not exist yet. Creating it.
Created topic rabbitmqtest.
Creating exchange X.test
Connector rabbitmqtest does not exist yet. Creating it.
{"name":"rabbitmqtest","config":{"connector.class":"org.apache.camel.kafkaconnector.rabbitmq.CamelRabbitmqSourceConnector","topics":"rabbitmqtest","value.converter":"org.apache.kafka.connect.converters.ByteArrayConverter","tasks.max":"10","camel.component.rabbitmq.hostname":"rabbitmq","camel.component.rabbitmq.portNumber":"5672","camel.component.rabbitmq.username":"rabbitmq","camel.component.rabbitmq.password":"rabbitmq","camel.source.path.exchangeName":"X.test","camel.source.endpoint.exchangeType":"topic","camel.source.endpoint.autoDelete":"false","camel.source.endpoint.queue":"Q.test.kafka.import","camel.source.endpoint.routingKey":"events","name":"rabbitmqtest"},"tasks":[],"type":"source"}CPU
usage as reported by top (Irix mode) in the Kafka Connect container
Mem: 20483064K used, 12140688K free, 1273088K shrd, 2280K buff, 8323776K
cached
CPU: 11% usr 1% sys 0% nic 75% idle 12% io 0% irq 0% sirq
Load average: 2.47 1.59 1.59 5/2347 317
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
7 1 root S 2556m 7% 3 0%
/usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Xms256M -Xmx1G -server -XX:+UseG1GC
-XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35
-XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=0.0
1 0 root S 2160 0% 6 0% {entrypoint.sh} /bin/bash
/kafka/connect/entrypoint.sh
313 0 root R 1516 0% 4 0% top -b -n 1
CPU usage as reported by top (Irix mode) in the Kafka Connect container
Mem: 20475304K used, 12148448K free, 1268776K shrd, 2280K buff, 8320176K
cached
CPU: 4% usr 2% sys 0% nic 81% idle 11% io 0% irq 0% sirq
Load average: 2.59 1.63 1.60 3/2343 350
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
7 1 root S 2584m 8% 3 5%
/usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Xms256M -Xmx1G -server -XX:+UseG1GC
-XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35
-XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=0.0
1 0 root S 2160 0% 6 0% {entrypoint.sh} /bin/bash
/kafka/connect/entrypoint.sh
346 0 root R 1516 0% 7 0% top -b -n 1
oscerd@ghost:~/workspace/miscellanea/docker-kafka-camel-rabbitmq-connector-cpu-usage-scenario$
jvisualvm
^Coscerd@ghost:~/workspace/miscellanea/docker-kafka-camel-rabbitmq-connector-cpu-usage-scenario$
bash setup.sh
Topic rabbitmqtest already exists.
Creating exchange X.test
Connector rabbitmqtest already exists.
CPU usage as reported by top (Irix mode) in the Kafka Connect container
Mem: 20709508K used, 11914244K free, 1331772K shrd, 2280K buff, 8453220K
cached
CPU: 7% usr 6% sys 0% nic 74% idle 12% io 0% irq 0% sirq
Load average: 1.85 1.80 1.68 5/2398 395
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
7 1 root S 2642m 8% 3 4%
/usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Xms256M -Xmx1G -server -XX:+UseG1GC
-XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35
-XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=0.0
1 0 root S 2160 0% 6 0% {entrypoint.sh} /bin/bash
/kafka/connect/entrypoint.sh
391 0 root R 1516 0% 0 0% top -b -n 1
CPU usage as reported by top (Irix mode) in the Kafka Connect container
Mem: 20713436K used, 11910316K free, 1332128K shrd, 2280K buff, 8453600K
cached
CPU: 6% usr 1% sys 0% nic 87% idle 4% io 0% irq 0% sirq
Load average: 1.72 1.77 1.67 14/2392 401
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
7 1 root S 2641m 8% 3 3%
/usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Xms256M -Xmx1G -server -XX:+UseG1GC
-XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35
-XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=0.0
1 0 root S 2160 0% 6 0% {entrypoint.sh} /bin/bash
/kafka/connect/entrypoint.sh
396 0 root R 1516 0% 0 0% top -b -n 1
```
----------------------------------------------------------------
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:
[email protected]