librdkafka.redist 的日志是什么意思

What does librdkafka.redist's logs mean

这是与 Confluent.Kafkalibrdkafka.redist 依赖项相关的控制台日志的摘录。

%3|1602097315.970|FAIL|rdkafka#consumer-2| [thrd:kfkqaapq0002d.ch.me.com:9092/bootstrap]: kfkqaapq0002d.ch.me.com:9092/bootstrap: Failed to resolve 'kfkqaapq0002d.ch.me.com:9092': No such host is known.  (after 42ms in state CONNECT)
%3|1602097315.970|FAIL|rdkafka#consumer-3| [thrd:kfkqaapq0002d.ch.me.com:9092/bootstrap]: kfkqaapq0002d.ch.me.com:9092/bootstrap: Failed to resolve 'kfkqaapq0002d.ch.me.com:9092': No such host is known.  (after 41ms in state CONNECT)
%3|1602097315.972|FAIL|rdkafka#producer-1| [thrd:kfkqaapq0003d.ch.me.com:9092/bootstrap]: kfkqaapq0003d.ch.me.com:9092/bootstrap: Failed to resolve 'kfkqaapq0003d.ch.me.com:9092': No such host is known.  (after 48ms in state CONNECT)
%3|1602097315.973|ERROR|rdkafka#producer-1| [thrd:app]: rdkafka#producer-1: kfkqaapq0003d.ch.me.com:9092/bootstrap: Failed to resolve 'kfkqaapq0003d.ch.me.com:9092': No such host is known.  (after 48ms in state CONNECT)
%3|1602097316.459|FAIL|rdkafka#producer-1| [thrd:kfkqaapq0001d.ch.me.com:9092/bootstrap]: kfkqaapq0001d.ch.me.com:9092/bootstrap: Failed to resolve 'kfkqaapq0001d.ch.me.com:9092': No such host is known.  (after 42ms in state CONNECT)

我想了解每个竖线分隔的部分是什么。谁能告诉我?我找不到任何关于它的信息。我假设第二列是某种时间戳,第三列是状态,第四列是错误消息。

列:

  • %3 - 系统日志严重级别。越低越严重。
  • 1602097315.970 - 自纪元以来的秒数。
  • rdkafka#consumer-2 - 客户端实例名称,它是(可能配置的)client.id、客户端类型(消费者)和增加的 运行 数字(在当前进程)对于每个新的客户端实例。
  • [thrd:kfkqaapq0002d.ch.me.com:9092/bootstrap] - 日志从哪个线程发出。应用程序线程将被命名为 thrd:app,所有其他线程名称均为 librdkafka 内部线程。
  • kfkqaapq0002d.ch.me.com:9092/bootstrap - 日志消息对应的代理。
  • Failed to resolve 'kfkqaapq0002d.ch.me.com:9092': No such host is known. (after 42ms in state CONNECT) - 日志消息本身。