An application and tool to help you work through large Replicator logs, designed to run through large connect-distributed.log
files in an attempt to summarise what is going on with all the messages, configuration items and arrays that Replicator maintains (and emits log messages around).
Start by running the main class io.confluent.csg.Server
:
gradle run
In this example, the container is connect1
, so we can use this command to dump the file contents out to a local file for inspection:
docker logs connect1 2> file.log
If you're debugging an issue and want to review the logs, you can use less -fr
:
rm output.txt && gradle run > output.txt && less -fr output.txt
Output from after the process has run:
[2024-02-22 22:23:13,682] [INFO] Total Consumer messages: 1355
[2024-02-22 22:23:13,684] [INFO] Total Producer messages: 68
[2024-02-22 22:23:13,684] [INFO] Total WorkerTask messages: 474326
[2024-02-22 22:23:13,684] [INFO] Total WARN level messages: 57
[2024-02-22 22:23:13,684] [INFO] Total Assignment messages: 6
[2024-02-22 22:23:13,684] [INFO] Total Unclassified messages: 23343
A Web UI is also available on port 9992 by defaut: