Appendix B. Custom Resource API Reference
B.1. Kafka schema reference
| Field | Description |
|---|---|
| spec | The specification of the Kafka and Zookeeper clusters, and Topic Operator. |
B.2. KafkaSpec schema reference
Used in: Kafka
| Field | Description |
|---|---|
| kafka | Configuration of the Kafka cluster. |
| zookeeper | Configuration of the Zookeeper cluster. |
| topicOperator | Configuration of the Topic Operator. |
| entityOperator | Configuration of the Entity Operator. |
| clusterCa | Configuration of the cluster certificate authority. |
| clientsCa | Configuration of the clients certificate authority. |
| maintenanceTimeWindows | A list of time windows for the maintenance tasks (that is, certificates renewal). Each time window is defined by a cron expression. |
| string array |
B.3. KafkaClusterSpec schema reference
Used in: KafkaSpec
| Field | Description |
|---|---|
| replicas | The number of pods in the cluster. |
| integer | |
| image | The docker image for the pods. |
| string | |
| storage |
Storage configuration (disk). Cannot be updated. The type depends on the value of the |
| listeners | Configures listeners of Kafka brokers. |
| authorization |
Authorization configuration for Kafka brokers. The type depends on the value of the |
| config | The kafka broker config. Properties with the following prefixes cannot be set: listeners, advertised., broker., listener., host.name, port, inter.broker.listener.name, sasl., ssl., security., password., principal.builder.class, log.dir, zookeeper.connect, zookeeper.set.acl, authorizer., super.user. |
| map | |
| rack |
Configuration of the |
| brokerRackInitImage |
The image of the init container used for initializing the |
| string | |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| tolerations | Pod’s tolerations.See external documentation of core/v1 tolerations. |
| Toleration array | |
| livenessProbe | Pod liveness checking. |
| readinessProbe | Pod readiness checking. |
| jvmOptions | JVM Options for pods. |
| resources | Resource constraints (limits and requests). |
| metrics | The Prometheus JMX Exporter configuration. See https://github.com/prometheus/jmx_exporter for details of the structure of this configuration. |
| map | |
| logging |
Logging configuration for Kafka. The type depends on the value of the |
| tlsSidecar | TLS sidecar configuration. |
B.4. EphemeralStorage schema reference
Used in: KafkaClusterSpec, ZookeeperClusterSpec
The type property is a discriminator that distinguishes the use of the type EphemeralStorage from PersistentClaimStorage. It must have the value ephemeral for the type EphemeralStorage.
| Field | Description |
|---|---|
| type |
Must be |
| string |
B.5. PersistentClaimStorage schema reference
Used in: KafkaClusterSpec, ZookeeperClusterSpec
The type property is a discriminator that distinguishes the use of the type PersistentClaimStorage from EphemeralStorage. It must have the value persistent-claim for the type PersistentClaimStorage.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| size | When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim. |
| string | |
| selector | Specifies a specific persistent volume to use. It contains a matchLabels field which defines an inner JSON object with key:value representing labels for selecting such a volume. |
| map | |
| deleteClaim | Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed. |
| boolean | |
| class | The storage class to use for dynamic volume allocation. |
| string |
B.6. KafkaListeners schema reference
Used in: KafkaClusterSpec
| Field | Description |
|---|---|
| plain | Configures plain listener on port 9092. |
| tls | Configures TLS listener on port 9093. |
| external |
Configures external listener on port 9094. The type depends on the value of the |
|
|
B.7. KafkaListenerPlain schema reference
Used in: KafkaListeners
| Field | Description |
|---|---|
| authentication |
Authentication configuration for this listener. Since this listener does not use TLS transport you cannot configure an authentication with |
|
|
B.8. KafkaListenerAuthenticationTls schema reference
Used in: KafkaListenerExternalLoadBalancer, KafkaListenerExternalNodePort, KafkaListenerExternalRoute, KafkaListenerPlain, KafkaListenerTls
The type property is a discriminator that distinguishes the use of the type KafkaListenerAuthenticationTls from KafkaListenerAuthenticationScramSha512. It must have the value tls for the type KafkaListenerAuthenticationTls.
| Field | Description |
|---|---|
| type |
Must be |
| string |
B.9. KafkaListenerAuthenticationScramSha512 schema reference
Used in: KafkaListenerExternalLoadBalancer, KafkaListenerExternalNodePort, KafkaListenerExternalRoute, KafkaListenerPlain, KafkaListenerTls
The type property is a discriminator that distinguishes the use of the type KafkaListenerAuthenticationScramSha512 from KafkaListenerAuthenticationTls. It must have the value scram-sha-512 for the type KafkaListenerAuthenticationScramSha512.
| Field | Description |
|---|---|
| type |
Must be |
| string |
B.10. KafkaListenerTls schema reference
Used in: KafkaListeners
| Field | Description |
|---|---|
| authentication |
Authentication configuration for this listener. The type depends on the value of the |
|
|
B.11. KafkaListenerExternalRoute schema reference
Used in: KafkaListeners
The type property is a discriminator that distinguishes the use of the type KafkaListenerExternalRoute from KafkaListenerExternalLoadBalancer, KafkaListenerExternalNodePort. It must have the value route for the type KafkaListenerExternalRoute.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| authentication |
Authentication configuration for Kafka brokers. The type depends on the value of the |
|
|
B.12. KafkaListenerExternalLoadBalancer schema reference
Used in: KafkaListeners
The type property is a discriminator that distinguishes the use of the type KafkaListenerExternalLoadBalancer from KafkaListenerExternalRoute, KafkaListenerExternalNodePort. It must have the value loadbalancer for the type KafkaListenerExternalLoadBalancer.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| authentication |
Authentication configuration for Kafka brokers. The type depends on the value of the |
|
| |
| tls |
Enables TLS encryption on the listener. By default set to |
| boolean |
B.13. KafkaListenerExternalNodePort schema reference
Used in: KafkaListeners
The type property is a discriminator that distinguishes the use of the type KafkaListenerExternalNodePort from KafkaListenerExternalRoute, KafkaListenerExternalLoadBalancer. It must have the value nodeport for the type KafkaListenerExternalNodePort.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| authentication |
Authentication configuration for Kafka brokers. The type depends on the value of the |
|
| |
| tls |
Enables TLS encryption on the listener. By default set to |
| boolean |
B.14. KafkaAuthorizationSimple schema reference
Used in: KafkaClusterSpec
The type property is a discriminator that distinguishes the use of the type KafkaAuthorizationSimple from other subtypes which may be added in the future. It must have the value simple for the type KafkaAuthorizationSimple.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| superUsers | List of super users. Should contain list of user principals which should get unlimited access rights. |
| string array |
B.15. Rack schema reference
Used in: KafkaClusterSpec
| Field | Description |
|---|---|
| topologyKey |
A key that matches labels assigned to the OpenShift or Kubernetes cluster nodes. The value of the label is used to set the broker’s |
| string |
B.16. Probe schema reference
Used in: KafkaClusterSpec, KafkaConnectS2ISpec, KafkaConnectSpec, ZookeeperClusterSpec
| Field | Description |
|---|---|
| initialDelaySeconds | The initial delay before first the health is first checked. |
| integer | |
| timeoutSeconds | The timeout for each attempted health check. |
| integer |
B.17. JvmOptions schema reference
Used in: KafkaClusterSpec, KafkaConnectS2ISpec, KafkaConnectSpec, KafkaMirrorMakerSpec, ZookeeperClusterSpec
| Field | Description |
|---|---|
| -XX | A map of -XX options to the JVM. |
| map | |
| -Xms | -Xms option to to the JVM. |
| string | |
| -Xmx | -Xmx option to to the JVM. |
| string |
B.18. Resources schema reference
Used in: EntityTopicOperatorSpec, EntityUserOperatorSpec, KafkaClusterSpec, KafkaConnectS2ISpec, KafkaConnectSpec, KafkaMirrorMakerSpec, TlsSidecar, TopicOperatorSpec, ZookeeperClusterSpec
B.19. CpuMemory schema reference
Used in: Resources
| Field | Description |
|---|---|
| cpu | CPU. |
| string | |
| memory | Memory. |
| string |
B.20. InlineLogging schema reference
Used in: EntityTopicOperatorSpec, EntityUserOperatorSpec, KafkaClusterSpec, KafkaConnectS2ISpec, KafkaConnectSpec, KafkaMirrorMakerSpec, TopicOperatorSpec, ZookeeperClusterSpec
The type property is a discriminator that distinguishes the use of the type InlineLogging from ExternalLogging. It must have the value inline for the type InlineLogging.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| loggers | A Map from logger name to logger level. |
| map |
B.21. ExternalLogging schema reference
Used in: EntityTopicOperatorSpec, EntityUserOperatorSpec, KafkaClusterSpec, KafkaConnectS2ISpec, KafkaConnectSpec, KafkaMirrorMakerSpec, TopicOperatorSpec, ZookeeperClusterSpec
The type property is a discriminator that distinguishes the use of the type ExternalLogging from InlineLogging. It must have the value external for the type ExternalLogging.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| name |
The name of the |
| string |
B.22. TlsSidecar schema reference
Used in: EntityOperatorSpec, KafkaClusterSpec, TopicOperatorSpec, ZookeeperClusterSpec
| Field | Description |
|---|---|
| image | The docker image for the container. |
| string | |
| logLevel |
The log level for the TLS sidecar.Default value is |
| string (one of [emerg, debug, crit, err, alert, warning, notice, info]) | |
| resources | Resource constraints (limits and requests). |
B.23. ZookeeperClusterSpec schema reference
Used in: KafkaSpec
| Field | Description |
|---|---|
| replicas | The number of pods in the cluster. |
| integer | |
| image | The docker image for the pods. |
| string | |
| storage |
Storage configuration (disk). Cannot be updated. The type depends on the value of the |
| config | The zookeeper broker config. Properties with the following prefixes cannot be set: server., dataDir, dataLogDir, clientPort, authProvider, quorum.auth, requireClientAuthScheme. |
| map | |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| tolerations | Pod’s tolerations.See external documentation of core/v1 tolerations. |
| Toleration array | |
| livenessProbe | Pod liveness checking. |
| readinessProbe | Pod readiness checking. |
| jvmOptions | JVM Options for pods. |
| resources | Resource constraints (limits and requests). |
| metrics | The Prometheus JMX Exporter configuration. See https://github.com/prometheus/jmx_exporter for details of the structure of this configuration. |
| map | |
| logging |
Logging configuration for Zookeeper. The type depends on the value of the |
| tlsSidecar | TLS sidecar configuration. |
B.24. TopicOperatorSpec schema reference
Used in: KafkaSpec
| Field | Description |
|---|---|
| watchedNamespace | The namespace the Topic Operator should watch. |
| string | |
| image | The image to use for the Topic Operator. |
| string | |
| reconciliationIntervalSeconds | Interval between periodic reconciliations. |
| integer | |
| zookeeperSessionTimeoutSeconds | Timeout for the Zookeeper session. |
| integer | |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| resources | Resource constraints (limits and requests). |
| topicMetadataMaxAttempts | The number of attempts at getting topic metadata. |
| integer | |
| tlsSidecar | TLS sidecar configuration. |
| logging |
Logging configuration. The type depends on the value of the |
B.25. EntityOperatorSpec schema reference
Used in: KafkaSpec
| Field | Description |
|---|---|
| topicOperator | Configuration of the Topic Operator. |
| userOperator | Configuration of the User Operator. |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| tolerations | Pod’s tolerations.See external documentation of core/v1 tolerations. |
| Toleration array | |
| tlsSidecar | TLS sidecar configuration. |
B.26. EntityTopicOperatorSpec schema reference
Used in: EntityOperatorSpec
| Field | Description |
|---|---|
| watchedNamespace | The namespace the Topic Operator should watch. |
| string | |
| image | The image to use for the Topic Operator. |
| string | |
| reconciliationIntervalSeconds | Interval between periodic reconciliations. |
| integer | |
| zookeeperSessionTimeoutSeconds | Timeout for the Zookeeper session. |
| integer | |
| resources | Resource constraints (limits and requests). |
| topicMetadataMaxAttempts | The number of attempts at getting topic metadata. |
| integer | |
| logging |
Logging configuration. The type depends on the value of the |
B.27. EntityUserOperatorSpec schema reference
Used in: EntityOperatorSpec
| Field | Description |
|---|---|
| watchedNamespace | The namespace the User Operator should watch. |
| string | |
| image | The image to use for the User Operator. |
| string | |
| reconciliationIntervalSeconds | Interval between periodic reconciliations. |
| integer | |
| zookeeperSessionTimeoutSeconds | Timeout for the Zookeeper session. |
| integer | |
| resources | Resource constraints (limits and requests). |
| logging |
Logging configuration. The type depends on the value of the |
B.28. CertificateAuthority schema reference
Used in: KafkaSpec
Configuration of how TLS certificates are used within the cluster.This applies to certificates used for both internal communication within the cluster and to certificates used for client access via Kafka.spec.kafka.listeners.tls.
| Field | Description |
|---|---|
| generateCertificateAuthority | If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true. |
| boolean | |
| validityDays | The number of days generated certificates should be valid for. Default is 365. |
| integer | |
| renewalDays |
The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed.When |
| integer |
B.29. KafkaConnect schema reference
| Field | Description |
|---|---|
| spec | The specification of the Kafka Connect deployment. |
B.30. KafkaConnectSpec schema reference
Used in: KafkaConnect
| Field | Description |
|---|---|
| replicas | The number of pods in the Kafka Connect group. |
| integer | |
| image | The docker image for the pods. |
| string | |
| livenessProbe | Pod liveness checking. |
| readinessProbe | Pod readiness checking. |
| jvmOptions | JVM Options for pods. |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| tolerations | Pod’s tolerations.See external documentation of core/v1 tolerations. |
| Toleration array | |
| logging |
Logging configuration for Kafka Connect. The type depends on the value of the |
| metrics | The Prometheus JMX Exporter configuration. See https://github.com/prometheus/jmx_exporter for details of the structure of this configuration. |
| map | |
| authentication |
Authentication configuration for Kafka Connect. The type depends on the value of the |
|
| |
| bootstrapServers | Bootstrap servers to connect to. This should be given as a comma separated list of <hostname>:<port> pairs. |
| string | |
| config | The Kafka Connect configuration. Properties with the following prefixes cannot be set: ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers. |
| map | |
| resources | Resource constraints (limits and requests). |
| tls | TLS configuration. |
B.31. KafkaConnectAuthenticationTls schema reference
Used in: KafkaConnectS2ISpec, KafkaConnectSpec
The type property is a discriminator that distinguishes the use of the type KafkaConnectAuthenticationTls from KafkaConnectAuthenticationScramSha512. It must have the value tls for the type KafkaConnectAuthenticationTls.
| Field | Description |
|---|---|
| certificateAndKey | Certificate and private key pair for TLS authentication. |
| type |
Must be |
| string |
B.32. CertAndKeySecretSource schema reference
Used in: KafkaConnectAuthenticationTls, KafkaMirrorMakerAuthenticationTls
| Field | Description |
|---|---|
| certificate | The name of the file certificate in the Secret. |
| string | |
| key | The name of the private key in the Secret. |
| string | |
| secretName | The name of the Secret containing the certificate. |
| string |
B.33. KafkaConnectAuthenticationScramSha512 schema reference
Used in: KafkaConnectS2ISpec, KafkaConnectSpec
The type property is a discriminator that distinguishes the use of the type KafkaConnectAuthenticationScramSha512 from KafkaConnectAuthenticationTls. It must have the value scram-sha-512 for the type KafkaConnectAuthenticationScramSha512.
| Field | Description |
|---|---|
| passwordSecret | Password used for the authentication. |
| type |
Must be |
| string | |
| username | Username used for the authentication. |
| string |
B.34. PasswordSecretSource schema reference
Used in: KafkaConnectAuthenticationScramSha512, KafkaMirrorMakerAuthenticationScramSha512
| Field | Description |
|---|---|
| password | The name of the key in the Secret under which the password is stored. |
| string | |
| secretName | The name of the Secret containing the password. |
| string |
B.35. KafkaConnectTls schema reference
Used in: KafkaConnectS2ISpec, KafkaConnectSpec
| Field | Description |
|---|---|
| trustedCertificates | Trusted certificates for TLS connection. |
|
|
B.36. CertSecretSource schema reference
Used in: KafkaConnectTls, KafkaMirrorMakerTls
| Field | Description |
|---|---|
| certificate | The name of the file certificate in the Secret. |
| string | |
| secretName | The name of the Secret containing the certificate. |
| string |
B.37. KafkaConnectS2I schema reference
| Field | Description |
|---|---|
| spec | The specification of the Kafka Connect deployment. |
B.38. KafkaConnectS2ISpec schema reference
Used in: KafkaConnectS2I
| Field | Description |
|---|---|
| replicas | The number of pods in the Kafka Connect group. |
| integer | |
| image | The docker image for the pods. |
| string | |
| livenessProbe | Pod liveness checking. |
| readinessProbe | Pod readiness checking. |
| jvmOptions | JVM Options for pods. |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| metrics | The Prometheus JMX Exporter configuration. See https://github.com/prometheus/jmx_exporter for details of the structure of this configuration. |
| map | |
| authentication |
Authentication configuration for Kafka Connect. The type depends on the value of the |
|
| |
| bootstrapServers | Bootstrap servers to connect to. This should be given as a comma separated list of <hostname>:<port> pairs. |
| string | |
| config | The Kafka Connect configuration. Properties with the following prefixes cannot be set: ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers. |
| map | |
| insecureSourceRepository | When true this configures the source repository with the 'Local' reference policy and an import policy that accepts insecure source tags. |
| boolean | |
| logging |
Logging configuration for Kafka Connect. The type depends on the value of the |
| resources | Resource constraints (limits and requests). |
| tls | TLS configuration. |
| tolerations | Pod’s tolerations.See external documentation of core/v1 tolerations. |
| Toleration array |
B.39. KafkaTopic schema reference
| Field | Description |
|---|---|
| spec | The specification of the topic. |
B.40. KafkaTopicSpec schema reference
Used in: KafkaTopic
| Field | Description |
|---|---|
| partitions |
The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. If unspecified this will default to the broker’s |
| integer | |
| replicas |
The number of replicas the topic should have. If unspecified this will default to the broker’s |
| integer | |
| config | The topic configuration. |
| map | |
| topicName | The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name. |
| string |
B.41. KafkaUser schema reference
| Field | Description |
|---|---|
| spec | The specification of the user. |
B.42. KafkaUserSpec schema reference
Used in: KafkaUser
| Field | Description |
|---|---|
| authentication |
Authentication mechanism enabled for this Kafka user. The type depends on the value of the |
|
| |
| authorization |
Authorization rules for this Kafka user. The type depends on the value of the |
B.43. KafkaUserTlsClientAuthentication schema reference
Used in: KafkaUserSpec
The type property is a discriminator that distinguishes the use of the type KafkaUserTlsClientAuthentication from KafkaUserScramSha512ClientAuthentication. It must have the value tls for the type KafkaUserTlsClientAuthentication.
| Field | Description |
|---|---|
| type |
Must be |
| string |
B.44. KafkaUserScramSha512ClientAuthentication schema reference
Used in: KafkaUserSpec
The type property is a discriminator that distinguishes the use of the type KafkaUserScramSha512ClientAuthentication from KafkaUserTlsClientAuthentication. It must have the value scram-sha-512 for the type KafkaUserScramSha512ClientAuthentication.
| Field | Description |
|---|---|
| type |
Must be |
| string |
B.45. KafkaUserAuthorizationSimple schema reference
Used in: KafkaUserSpec
The type property is a discriminator that distinguishes the use of the type KafkaUserAuthorizationSimple from other subtypes which may be added in the future. It must have the value simple for the type KafkaUserAuthorizationSimple.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| acls | List of ACL rules which should be applied to this user. |
|
|
B.46. AclRule schema reference
Used in: KafkaUserAuthorizationSimple
| Field | Description |
|---|---|
| host | The host from which the action described in the ACL rule is allowed or denied. |
| string | |
| operation | Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All. |
| string (one of [Read, Write, Delete, Alter, Describe, All, IdempotentWrite, ClusterAction, Create, AlterConfigs, DescribeConfigs]) | |
| resource |
Indicates the resource for which given ACL rule applies. The type depends on the value of the |
|
| |
| type |
The type of the rule.Currently the only supported type is |
| string (one of [allow, deny]) |
B.47. AclRuleTopicResource schema reference
Used in: AclRule
The type property is a discriminator that distinguishes the use of the type AclRuleTopicResource from AclRuleGroupResource, AclRuleClusterResource. It must have the value topic for the type AclRuleTopicResource.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| name |
Name of resource for which given ACL rule applies. Can be combined with |
| string | |
| patternType |
Describes the pattern used in the resource field. The supported types are |
| string (one of [prefix, literal]) |
B.48. AclRuleGroupResource schema reference
Used in: AclRule
The type property is a discriminator that distinguishes the use of the type AclRuleGroupResource from AclRuleTopicResource, AclRuleClusterResource. It must have the value group for the type AclRuleGroupResource.
| Field | Description |
|---|---|
| type |
Must be |
| string | |
| name |
Name of resource for which given ACL rule applies. Can be combined with |
| string | |
| patternType |
Describes the pattern used in the resource field. The supported types are |
| string (one of [prefix, literal]) |
B.49. AclRuleClusterResource schema reference
Used in: AclRule
The type property is a discriminator that distinguishes the use of the type AclRuleClusterResource from AclRuleTopicResource, AclRuleGroupResource. It must have the value cluster for the type AclRuleClusterResource.
| Field | Description |
|---|---|
| type |
Must be |
| string |
B.50. KafkaMirrorMaker schema reference
| Field | Description |
|---|---|
| spec | The specification of the mirror maker. |
B.51. KafkaMirrorMakerSpec schema reference
Used in: KafkaMirrorMaker
| Field | Description |
|---|---|
| replicas |
The number of pods in the |
| integer | |
| image | The docker image for the pods. |
| string | |
| whitelist |
List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions.Mirroring two topics named A and B can be achieved by using the whitelist |
| string | |
| consumer | Configuration of source cluster. |
| producer | Configuration of target cluster. |
| resources | Resource constraints (limits and requests). |
| affinity | Pod affinity rules.See external documentation of core/v1 affinity. |
| tolerations | Pod’s tolerations.See external documentation of core/v1 tolerations. |
| Toleration array | |
| jvmOptions | JVM Options for pods. |
| logging |
Logging configuration for Mirror Maker. The type depends on the value of the |
| metrics | The Prometheus JMX Exporter configuration. See JMX Exporter documentation for details of the structure of this configuration. |
| map |
B.52. KafkaMirrorMakerConsumerSpec schema reference
Used in: KafkaMirrorMakerSpec
| Field | Description |
|---|---|
| numStreams | Specifies the number of consumer stream threads to create. |
| integer | |
| groupId | A unique string that identifies the consumer group this consumer belongs to. |
| string | |
| bootstrapServers | A list of host:port pairs to use for establishing the initial connection to the Kafka cluster. |
| string | |
| authentication |
Authentication configuration for connecting to the cluster. The type depends on the value of the |
|
| |
| config | The mirror maker consumer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security. |
| map | |
| tls | TLS configuration for connecting to the cluster. |
B.53. KafkaMirrorMakerAuthenticationTls schema reference
Used in: KafkaMirrorMakerConsumerSpec, KafkaMirrorMakerProducerSpec
The type property is a discriminator that distinguishes the use of the type KafkaMirrorMakerAuthenticationTls from KafkaMirrorMakerAuthenticationScramSha512. It must have the value tls for the type KafkaMirrorMakerAuthenticationTls.
| Field | Description |
|---|---|
| certificateAndKey |
Reference to the |
| type |
Must be |
| string |
B.54. KafkaMirrorMakerAuthenticationScramSha512 schema reference
Used in: KafkaMirrorMakerConsumerSpec, KafkaMirrorMakerProducerSpec
The type property is a discriminator that distinguishes the use of the type KafkaMirrorMakerAuthenticationScramSha512 from KafkaMirrorMakerAuthenticationTls. It must have the value scram-sha-512 for the type KafkaMirrorMakerAuthenticationScramSha512.
| Field | Description |
|---|---|
| passwordSecret |
Reference to the |
| type |
Must be |
| string | |
| username | Username used for the authentication. |
| string |
B.55. KafkaMirrorMakerTls schema reference
Used in: KafkaMirrorMakerConsumerSpec, KafkaMirrorMakerProducerSpec
| Field | Description |
|---|---|
| trustedCertificates | Trusted certificates for TLS connection. |
|
|
B.56. KafkaMirrorMakerProducerSpec schema reference
Used in: KafkaMirrorMakerSpec
| Field | Description |
|---|---|
| bootstrapServers | A list of host:port pairs to use for establishing the initial connection to the Kafka cluster. |
| string | |
| authentication |
Authentication configuration for connecting to the cluster. The type depends on the value of the |
|
| |
| config | The mirror maker producer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security. |
| map | |
| tls | TLS configuration for connecting to the cluster. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.