-
Notifications
You must be signed in to change notification settings - Fork 139
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
Addon Kafka-operator #633
Addon Kafka-operator #633
Conversation
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
@wonderflow @wangyikewxgm when I'm running below yaml after enabling the addon with definition apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: kafka-cluster-sample
spec:
components:
- type: "kafka-cluster"
name: "kafka"
properties:
kafka:
version: "3.3.2"
replicas: 3
listeners:
- name: plain
port: 9092
type: internal
tls: false
- name: tls
port: 9093
type: internal
tls: true
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
default.replication.factor: 3
min.insync.replicas: 2
inter.broker.protocol.version: '3.3'
storage:
type: ephemeral
zookeeper:
replicas: 3
storage:
type: ephemeral
entityOperator:
topicOperator: {}
userOperator: {}
no pods are getting created and no error occurs. Do you see anything I'm missing or making any mistake. |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
You can check the status of applied CustomResource. |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
@wangyikewxgm I've checked and found, resource name apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: redis-operator-sample
spec:
components:
# This component is provided by redis-operator addon.
# In this example, 2 redis instance and 2 sentinel instance
# will be created.
- type: redis-failover
name: ha-redis
properties:
# You can increase/decrease this later to add/remove instances.
replicas: 3 so that we can address the issue with the kafka-operator. |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Ok, will have a try.My slack ID is YikeWong, feel free to discuss on slack. |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
@wonderflow @wangyikewxgm I've made change like removed definitions |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
@wonderflow I've updated Readme, Now Readme explains how kafka can be used as a Producer/Consumer using kafka-topic, Please review it. |
@wonderflow we can't create a vela Application because the image producer/consumer uses, runs a shell application that must be connected in interactive mode to interact with Topic otherwise producer/consumer finishes running instantly, So we can create YAMLs to create producer/consumer pods but can't connect to them as they aren't stable to connect. |
And all the messages that're generated through producer can be consumed using consumer from Topic |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
@wonderflow I've added instructions in Readme to create a NodePort Service to access |
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great job, please fix the CI
Signed-off-by: MdSahil-oss <Mohdssahil1@gmail.com>
@wonderflow I've fixed CI test. |
Description of your changes
Adds kafka-operator as an addon
How has this code been tested?
Checklist
I have:
[Addon]
,[example]
or[Doc]
).version
inmetadata.yaml
to generate a new version.Verified Addon promotion rules
If this pr wants to promote an experimental addon to verified, you must check whether meet these conditions too:
metadata.yaml
.README.md
.