Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-246

Integrate Strimzi Operator with Kogito Data Index controller

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 0.6.0
    • 0.3.0
    • Operator
    • None
    • 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18)

      Today we depend on the user to manually deploy the Strimzi Operator and install Kafka cluster and topics with it.

      This enhancement is to add the following feature
      1. Add the option to create Kogito operator with dependency on the Strimzi Operator.
      2. Add a new Spec ".Spec.Kafka.Instance" that's the name of the Kafka instance.
      3. Update CLI

      This enhancement is also to add this feature to the Kogito Data Index controller, so the operator will:
      1. If user specifies the Kafka ExternalURI ".Spec.Kafka.ExternalURI", the value will be used by the data index service.
      2. Otherwise, check if the Strimzi APIs are supported in the cluster. If Strimzi APIs are supported:
      2.1. Create the KafkaTopic CRs.
      2.2. If the user specifies the Kafka Instance ".Spec.Kafka.Instance", use the URI of the instance for the data index service. The number of replicas of the KafkaTopic can be extracted from the Kafka instance.
      2.3. If the Kafka Instance is not specified, try to find a Kafka instance that is created in the namespace, and use its URI. The number of replicas of the KafkaTopic can be extracted from the Kafka instance.
      2.4 Abort the deployment if no Kafka instance is installed

              xiezhang@redhat.com Xieshen Zhang
              rhn-support-zanini Ricardo Zanini
              Tristan Radisson Tristan Radisson
              Tristan Radisson Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: