이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 55. EntityTopicOperatorSpec schema reference
Used in: EntityOperatorSpec
Full list of EntityTopicOperatorSpec schema properties
Configures the Topic Operator.
55.1. Logging 링크 복사링크가 클립보드에 복사되었습니다!
The Topic Operator has its own preconfigured loggers:
| Logger | Description | Default Level |
|---|---|---|
|
| Default logger for all classes | INFO |
|
| Logs HTTP server activity | INFO |
The Topic Operator uses the Apache log4j2 logger implementation. Use the logging property to configure loggers and logger levels.
You can set log levels using either the inline or external logging configuration types.
Specify loggers and levels directly in the custom resource for inline configuration:
Example inline logging configuration
You can define additional loggers by specifying the full class or package name using logger.<name>.name. For example, to configure more detailed logging for the Topic Operator inline:
Example custom inline loggers
# ... logger.top.name: io.strimzi.operator.topic logger.top.level: DEBUG logger.toc.name: io.strimzi.operator.topic.TopicOperator logger.toc.level: TRACE
# ...
logger.top.name: io.strimzi.operator.topic
logger.top.level: DEBUG
logger.toc.name: io.strimzi.operator.topic.TopicOperator
logger.toc.level: TRACE
Alternatively, you can reference an external ConfigMap containing a complete log4j2.properties file that defines your own log4j2 configuration, including loggers, appenders, and layout configuration:
Example external logging configuration
Garbage collector (GC)
Garbage collector logging can also be enabled (or disabled) using the jvmOptions property.
55.2. EntityTopicOperatorSpec schema properties 링크 복사링크가 클립보드에 복사되었습니다!
| Property | Property type | Description |
|---|---|---|
| watchedNamespace | string | The namespace the Topic Operator should watch. |
| image | string | The image to use for the Topic Operator. |
| reconciliationIntervalSeconds | integer |
The |
| reconciliationIntervalMs | integer | Interval between periodic reconciliations in milliseconds. |
| zookeeperSessionTimeoutSeconds | integer |
The |
| startupProbe | Pod startup checking. | |
| livenessProbe | Pod liveness checking. | |
| readinessProbe | Pod readiness checking. | |
| resources | CPU and memory resources to reserve. | |
| topicMetadataMaxAttempts | integer |
The |
| logging | Logging configuration. | |
| jvmOptions | JVM Options for pods. |