-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFLY-19359] define kafka yaml file for OpenShift and update the README.
- Loading branch information
Showing
5 changed files
with
95 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
microprofile-reactive-messaging-kafka/charts/amq-operator-on-openshift.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Subscribe the Red Hat Streams for Apache Kafka operator | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
generation: 1 | ||
name: amq-streams | ||
namespace: openshift-operators | ||
spec: | ||
channel: stable | ||
installPlanApproval: Automatic | ||
name: amq-streams | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace |
35 changes: 35 additions & 0 deletions
35
microprofile-reactive-messaging-kafka/charts/kafka-on-openshift.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This is the YAML needed to install Kafka provided by Strimzi on OpenShift. | ||
|
||
# create a Kafka Stream instance | ||
apiVersion: kafka.strimzi.io/v1beta2 | ||
kind: Kafka | ||
metadata: | ||
name: my-cluster | ||
spec: | ||
kafka: | ||
replicas: 3 | ||
listeners: | ||
- name: plain | ||
port: 9092 | ||
type: internal | ||
tls: false | ||
storage: | ||
type: ephemeral | ||
zookeeper: | ||
replicas: 3 | ||
storage: | ||
type: ephemeral | ||
entityOperator: | ||
topicOperator: {} | ||
|
||
--- | ||
# create a topic in Kafka Stream instance | ||
apiVersion: kafka.strimzi.io/v1beta2 | ||
kind: KafkaTopic | ||
metadata: | ||
name: testing | ||
labels: | ||
strimzi.io/cluster: my-cluster | ||
spec: | ||
partitions: 3 | ||
replicas: 3 |
65 changes: 22 additions & 43 deletions
65
microprofile-reactive-messaging-kafka/helm-install-prerequisites.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters