Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to consume strimzi-registry-operator #104

Open
chethan8592 opened this issue Oct 21, 2024 · 0 comments
Open

How to consume strimzi-registry-operator #104

chethan8592 opened this issue Oct 21, 2024 · 0 comments

Comments

@chethan8592
Copy link

Followed the steps mention in : https://github.com/lsst-sqre/strimzi-registry-operator/blob/main/README.md

  1. Using Helm have deployed operator into Kubernetes cluster.
    helm install my-strimzi-registry-operator lsst-sqre/strimzi-registry-operator --version 2.1.0 --namespace strimzi-registry --set clusterNamespace="strimzi-kafka",clusterName="kafka"

  2. Deployed StrimziSchemaRegistry resources like KafkaTopic, KafkaUser, StrimziSchemaRegistry as below referance:

kind: KafkaTopic
metadata:
name: registry-schemas
namespace: strimzi-ui-demo
labels:
strimzi.io/cluster: schemaregistry
spec:
partitions: 1
replicas: 3
config:
# http://kafka.apache.org/documentation/#topicconfigs
cleanup.policy: compact


#KafkaUser
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: confluent-schema-registry
namespace: strimzi-ui-demo
labels:
strimzi.io/cluster: schemaregistry
spec:
authentication:
type: tls
authorization:
# Official docs on authorizations required for the Schema Registry:
# https://docs.confluent.io/current/schema-registry/security/index.html#authorizing-access-to-the-schemas-topic
type: simple
acls:
# Allow all operations on the registry-schemas topic
# Read, Write, and DescribeConfigs are known to be required
- resource:
type: topic
name: registry-schemas
patternType: literal
operation: All
type: allow
# Allow all operations on the schema-registry* group
- resource:
type: group
name: schema-registry
patternType: prefix
operation: All
type: allow
# Allow Describe on the __consumer_offsets topic
- resource:
type: topic
name: __consumer_offsets
patternType: literal
operation: Describe
type: allow


#StrimziSchemaRegistry
apiVersion: roundtable.lsst.codes/v1beta1
kind: StrimziSchemaRegistry
metadata:
name: confluent-schema-registry
namespace: strimzi-ui-demo
spec:
strimziVersion: v1beta2
listener: tls
securityProtocol: SSL
compatibilityLevel: forward #backward
registryImage: confluentinc/cp-schema-registry
registryImageTag: "7.2.1"
cpuLimit: ""
cpuRequest: ""
memoryLimit: ""
memoryRequest: ""

A Pod is created with above configuration.
But I want to know, if I want to consume the strimzi-schema-registry from either Producer app or configure the schema URL,how will configure it or Post deployment of strimzi-registry-operator how to consume it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant