Skip to main content
Quick navigation

Console Resources

ConsoleGroup

API Keys: Admin API Key
Managed with: API CLI Console UI

Creates a Group with members and permissions in Console

---
apiVersion: iam/v2
kind: Group
metadata:
name: developers-a
spec:
displayName: "Developers Team A"
description: "Members of the Team A - Developers"
externalGroups:
- "LDAP-GRP-A-DEV"
members:
- member1@company.org
- member2@company.org
permissions:
- resourceType: TOPIC
cluster: shadow-it
patternType: PREFIX
name: toto-
permissions:
- topicViewConfig
- topicConsume
- topicProduce

Groups checks:

  • spec.description is optional
  • spec.externalGroups is a list of LDAP or OIDC groups to sync with this Console Group
    • Members added this way will not appear in spec.members but spec.membersFromExternalGroups instead
  • spec.membersFromExternalGroups is a read-only list of members added through spec.externalGroups
  • spec.members must be email addresses of members you wish to add to this group
  • spec.permissions are valid permissions as defined in Permissions

Side effect in Console & Kafka:

  • Console
    • Members of the Group are given the associated permissions in the UI over the resources
    • Members of the LDAP or OIDC groups will be automatically added or removed upon login
  • Kafka
    • No side effect

ConsoleUser

API Keys: Admin API Key
Managed with: API CLI Console UI

Sets a User with permissions in Console

---
apiVersion: iam/v2
kind: User
metadata:
name: john.doe@company.org
spec:
firstName: "John"
lastName: "Doe"
permissions:
- resourceType: TOPIC
cluster: shadow-it
patternType: PREFIX
name: toto-
permissions:
- topicViewConfig
- topicConsume
- topicProduce

Users checks:

  • spec.permissions are valid permissions as defined in Permissions

Side effect in Console & Kafka:

  • Console
    • User is given the associated permissions in the UI over the resources
  • Kafka
    • No side effect

KafkaCluster

Creates a Kafka Cluster Definition in Console.

API Keys: Admin API Key
Managed with: API CLI Console UI

---
apiVersion: console/v2
kind: KafkaCluster
metadata:
name: shadow-julien
spec:
displayName: "Julien's cloud - Kafka"
icon: "kafka"
color: "#000000"
bootstrapServers: "34.140.204.135:12092"
ignoreUntrustedCertificate: false
properties:
sasl.jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username="admin" password="admin-secret";
security.protocol: SASL_SSL
sasl.mechanism: PLAIN
schemaRegistry:
type: "ConfluentLike"
url: http://34.140.204.135/registry/
security:
type: BasicAuth
username: superUser
password: superUser
ignoreUntrustedCertificate: false
kafkaFlavor:
type: "Confluent"
key: "string"
secret: "string"
confluentEnvironmentId: "string"
confluentClusterId: "string"
info

metadata.name, spec.displayName, spec.icon and spec.color work together to build the visual identity of the KafkaCluster throughout Console. Cluster identity

KafkaCluster checks:

  • spec.icon (optional, default kafka) is a valid entry from our Icon Sets
  • spec.color (optional, default #000000) is a HEX color for spec.icon
  • spec.ignoreUntrustedCertificate (optional, default false) must be one of [true, false]
  • spec.schemaRegistry.type (optional) must be one of [ConfluentLike, Glue]
  • spec.kafkaFlavor.type (optional) must be one of [Confluent, Aiven, Gateway]
Important

Conduktor CLI does not verify that your Kafka configuration (spec.bootstrapServers, spec.properties, ...) is valid.
You need to check that in Console directly.

Schema Registry

This section lets you associate a Schema Registry to your KafkaCluster

Confluent or Confluent-like Registry

spec:
schemaRegistry:
type: "ConfluentLike"
urls: http://34.140.204.135/registry/
ignoreUntrustedCertificate: false
security:
type: BasicAuth
username: superUser
password: superUser

Confluent Schema Registry checks:

  • spec.schemaRegistry.urls must be a single URL of a Kafka Connect cluster
    • Multiple URLs are not supported for now. Coming soon
  • spec.schemaRegistry.ignoreUntrustedCertificate (optional, default false) must be one of [true, false]
  • spec.schemaRegistry.properties (optional) is Java Properties formatted key values to further configure the SchemaRegistry
  • spec.security.type (optional) must be one of [BasicAuth, BearerToken, SSLAuth]

AWS Glue Registry

spec:
schemaRegistry:
type: "Glue"
region: eu-west-1
registryName: default
security:
type: Credentials
accessKeyId: accessKey
secretKey: secretKey

AWS Glue Registry checks:

  • spec.schemaRegistry.region must be a valid AWS region
  • spec.schemaRegistry.registryName must be a valid AWS Glue Registry in this region
  • spec.schemaRegistry.security.type must be one of [Credentials, FromContext, FromRole]

Credentials
Use AWS API Key/Secret to connect to the Glue Registry

    security:
type: Credentials
accessKeyId: AKIAIOSFODNN7EXAMPLE
secretKey: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

FromContext

    security:
type: FromContext
profile: default

FromRole

    security:
type: FromRole
role: arn:aws:iam::123456789012:role/example-role

Kafka Provider

This section lets you configure the Kafka Provider for this KafkaCluster.

Confluent Cloud
Provide your Confluent Cloud details to get additional features in Console:

  • Confluent Cloud Service Accounts support
  • Confluent Cloud API Keys support
spec:
kafkaFlavor:
type: "Confluent"
key: "yourApiKey123456"
secret: "yourApiSecret123456"
confluentEnvironmentId: "env-12345"
confluentClusterId: "lkc-67890"

Aiven
Provide your Aiven Cloud details to get additional features in Console:

  • Aiven Service Accounts support
  • Aiven ACLs support
spec:
kafkaFlavor:
type: "Aiven"
apiToken: "a1b2c3d4e5f6g7h8i9j0"
project: "my-kafka-project"
serviceName: "my-kafka-service"

Gateway
Provide your Gateway details to get additional features in Console:

  • Interceptors support
spec:
kafkaFlavor:
type: "Gateway"
url: "http://gateway:8088"
user: "admin"
password: "admin"
virtualCluster: vc1

Icon Sets

cloud-boltcloud-rainbowcloudsnowflake
poo-stormpoopboltumbrella
tennis-ballrugby-balltraffic-conefaucet
basket-shoppingboxscale-balancedsunglasses
swordaxe-battlevialfeather-pointed
bombflagheartkey
fire-extinguisherfire-flame-curvedalienhelmet-battle
ghostrobotdogelephant
birdcrabcat-spaceplanet-ringed
meteormoonspace-stationrocket-launch
paper-planecar-sidebuilding-columnscastle
acornburger-lettucecroissantmug
cactusclovercamera-cctvcalendar
alarm-clockcompassgamepad-modernserver
shield-blankcomputer-classicdharmachakrakafka

KafkaConnectCluster

Creates a Kafka Connect Cluster Definition in Console.

API Keys: Admin API Key
Managed with: API CLI Console UI

---
apiVersion: console/v2
kind: KafkaConnectCluster
metadata:
cluster: shadow-julien
name: connect-1
spec:
displayName: "Connect 1"
urls: "http://34.140.204.135/connect/"
ignoreUntrustedCertificate: false
headers:
X-PROJECT-HEADER: value
AnotherHeader: test
security:
type: "BasicAuth"
username: "toto"
password: "my-secret"

KafkaConnectCluster checks:

  • metadata.cluster must be a valid KafkaCluster name
  • spec.urls must be a single URL of a Kafka Connect cluster
    • Multiple URLs are not supported for now. Coming soon
  • spec.ignoreUntrustedCertificate (optional, default false) must be one of [true, false]
  • spec.headers (optional) must be key-value pairs of HTTP Headers
  • spec.security.type (optional) must be one of [BasicAuth, BearerToken, SSLAuth]

KsqlDBCluster

API Keys: Admin API Key
Managed with: API CLI Console UI

Creates a ksqlDB Cluster Definition in Console.

---
apiVersion: console/v2
kind: KsqlDBCluster
metadata:
cluster: julien-cloud
name: ksql-1
spec:
displayName: "KSQL 1"
url: "http://34.140.204.135/ksqldb/"
ignoreUntrustedCertificate: false
security:
type: "BasicAuth"
username: "toto"
password: "my-secret"

KafkaConnectCluster checks:

  • metadata.cluster must be a valid KafkaCluster name
  • spec.url must be a single URL of a KsqlDB cluster
  • spec.ignoreUntrustedCertificate (optional, default false) must be one of [true, false]
  • spec.headers (optional) must be key-value pairs of HTTP Headers
  • spec.security.type (optional) must be one of [BasicAuth, BearerToken, SSLAuth]

Alert

Not implemented yet

This concept will be available in a future version

DataMaskingPolicy

Not implemented yet

This concept will be available in a future version

HTTP Security Properties

HTTP Security Properties are used in KafkaCluster (Schema Registry), KafkaConnect, KsqlDBCluster

Basic Authentication

  security:
type: "BasicAuth"
username: "toto"
password: "my-secret"

Bearer Token

  security:
type: "BearerToken"
token: "toto"

mTLS / Client Certificate

  security:
type: "SSLAuth"
key: |
-----BEGIN PRIVATE KEY-----
MIIOXzCCDUegAwIBAgIRAPRytMVYJNUgCbhnA+eYumgwDQYJKoZIhvcNAQELBQAw
...
IFyCs+xkcgvHFtBjjel4pnIET0agtbGJbGDEQBNxX+i4MDA=
-----END PRIVATE KEY-----
certificateChain: |
-----BEGIN CERTIFICATE-----
MIIOXzCCDUegAwIBAgIRAPRytMVYJNUgCbhnA+eYumgwDQYJKoZIhvcNAQELBQAw
RjELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBM
...
8/s+YDKveNdoeQoAmGQpUmxhvJ9rbNYj+4jiaujkfxT/6WtFN8N95r+k3W/1K4hs
IFyCs+xkcgvHFtBjjel4pnIET0agtbGJbGDEQBNxX+i4MDA=
-----END CERTIFICATE-----

Permissions

Permissions are used in Groups and Users and lets you configure all the access to any Kafka resource or Console feature.

A permission applies to a certain resourceType, which affect the necessary fields as detailed below.

Topic Permissions

# Grants Consume, Produce and View Config to all topics toto-* on shadow-it cluster
- resourceType: TOPIC
cluster: shadow-it
patternType: PREFIXED
name: toto-
permissions:
- topicViewConfig
- topicConsume
- topicProduce
  • resourceType: TOPIC
  • cluster is a valid Kafka cluster
  • patternType is either PREFIXED or LITERAL
  • name is the name of the topic or topic prefix to apply the permissions to
  • permissions is a list of valid topic permissions (See Table)
Available Topic PermissionsDescription
topicConsumePermission to consume messages from the topic.
topicProducePermission to produce (write) messages to the topic.
topicViewConfigPermission to view the topic configuration.
topicEditConfigPermission to edit the topic configuration.
topicCreatePermission to create a new topic.
topicDeletePermission to delete the topic.
topicAddPartitionPermission to add partitions to the topic.
topicEmptyPermission to empty (delete all messages from) the topic.

Subject Permissions

# Grants View and Edit Compatibility to all subjects starting with sub-* on shadow-it cluster
- resourceType: SUBJECT
cluster: shadow-it
patternType: PREFIX
name: sub-
permissions:
- subjectView
- subjectEditCompatibility
  • resourceType: SUBJECT
  • cluster is a valid Kafka cluster
  • patternType is either PREFIXED or LITERAL
  • name is the name of the subject or subject prefix to apply the permissions to
  • permissions is a list of valid subject permissions (See Table)
Available Subject PermissionsDescription
subjectCreateUpdatePermission to create or update the subject.
subjectDeletePermission to delete the subject.
subjectEditCompatibilityPermission to edit the subject compatibility settings.
subjectViewPermission to view the subject details.

ConsumerGroup Permissions

# Grants View and Reset on all consumer groups starting with group-* on shadow-it cluster
- resourceType: CONSUMER_GROUP
cluster: shadow-it
patternType: PREFIX
name: group-
permissions:
- consumerGroupView
- consumerGroupReset
  • resourceType: CONSUMER_GROUP
  • cluster is a valid Kafka cluster
  • patternType is either PREFIXED or LITERAL
  • name is the name of the consumer group or consumer group prefix to apply the permissions to
  • permissions is a list of valid consumer group permissions (See Table)
Available ConsumerGroup PermissionsDescription
consumerGroupCreatePermission to create a new consumer group.
consumerGroupResetPermission to reset the consumer group.
consumerGroupDeletePermission to delete the consumer group.
consumerGroupViewPermission to view the consumer group details.

Cluster Permissions

# Grants View Broker, Edit Schema Registry Compatibility, Edit Broker, View ACL, and Manage ACL on shadow-it cluster
- resourceType: CLUSTER
name: shadow-it
permissions:
- clusterViewBroker
- clusterEditSRCompatibility
- clusterEditBroker
- clusterViewACL
- clusterManageACL
  • resourceType: CLUSTER
  • name is the name of the cluster to apply the permissions to
    • Use * for all clusters
  • permissions is a list of valid cluster permissions (See Table)
Available Cluster PermissionsDescription
clusterViewBrokerPermission to view broker details.
clusterEditSRCompatibilityPermission to edit Schema Registry compatibility settings.
clusterEditBrokerPermission to edit broker configuration.
clusterViewACLPermission to view Access Control Lists (ACLs) for the cluster.
clusterManageACLPermission to manage Access Control Lists (ACLs) for the cluster.

KafkaConnect Permissions

# Grants Create and Delete on all connectors starting with connector-* on shadow-it cluster and kafka-connect-cluster
- resourceType: KAFKA_CONNECT
cluster: shadow-it
kafkaConnect: kafka-connect-cluster
patternType: PREFIXED
name: connector-
permissions:
- kafkaConnectorCreate
- kafkaConnectorDelete
  • resourceType: KAFKA_CONNECT
  • cluster is a valid Kafka cluster
  • kafkaConnect is a valid Kafka Connect cluster
  • patternType is either PREFIXED or LITERAL
  • name is the name of the connector or connector prefix to apply the permissions to
  • permissions is a list of valid Kafka Connect permissions (See Table)
Available KafkaConnect PermissionsDescription
kafkaConnectorViewConfigPermission to view the Kafka Connect configuration.
kafkaConnectorStatusPermission to view the status of Kafka Connect connectors.
kafkaConnectorEditConfigPermission to edit the Kafka Connect configuration.
kafkaConnectorDeletePermission to delete connectors.
kafkaConnectorUpdatePermission to update connectors.
kafkaConnectorCreatePermission to create new connectors.
kafkaConnectPauseResumePermission to pause and resume connectors.
kafkaConnectRestartPermission to restart connectors.

KsqlDB Permissions

# Grants all permissions on KsqlDB cluster ksql-cluster
- resourceType: KSQLDB
cluster: shadow-it
ksqlDB: ksql-cluster
permissions:
- ksqldbAccess
  • resourceType: KSQLDB
  • cluster is a valid Kafka cluster
  • ksqlDB is a valid Kafka Connect cluster
  • permissions is a list of valid KsqlDB permissions (See Table)
Available KafkaConnect PermissionsDescription
ksqldbAccessGrants all permissions on the KsqlDB Cluster.

Platform Permissions

# Grants Platform permissions
- resourceType: PLATFORM
permissions:
- userView
- datamaskingView
  • resourceType: PLATFORM
  • permissions is a list of valid Platform permissions (See Table)
Available KafkaConnect PermissionsDescription
clusterConnectionsManagePermission to add / edit / remove Kafka clusters on Console
certificateManagePermission to add / edit / remove TLS Certificates on Console
userManagePermission to manage Console users, groups & permissions
userViewPermission to view Console users, groups & permissions
datamaskingManagePermission to manage Data policies (masking rules)
datamaskingViewPermission to view Data policies
notificationChannelManagePermission to manage Integration channels
notificationChannelViewPermission to view Integration channels
auditLogViewPermission to browse audit log