Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3628

Kafka capability is not correctly set up for Kie Server image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.11.0.GA
    • 7.11.0.GA
    • Cloud
    • None
    • OCP 4.7
      BA Operator 7.11

    • False
    • False
    • CR1
    • CR1
    • Undefined
    • Workaround Exists
    • Hide

      Add to server env variables with name: JAVA_OPTS_APPEND and value: '-Dorg.kie.kafka.server.ext.disabled=false'

      apiVersion: app.kiegroup.org/v2
      kind: KieApp
      metadata: 
        name: cc-limit-approve
        namespace: kie-server-kafka
      spec: 
        commonConfig: 
          adminPassword: admin
          adminUser: admin
        environment: rhpam-production-immutable
        objects: 
          servers: 
            - build: 
                gitSource: 
                  reference: master
                  uri: 'https://github.com/kmacedovarela/cc-limit-approval-app.git'
                kieServerContainerDeployment: 'ccLimitContianer=com.myspace:cc-limit-approval-app:1.0.0-SNAPSHOT'
              env: 
                - name: JAVA_OPTS_APPEND
                  value: '-Dorg.kie.kafka.server.ext.disabled=false'
              kafka: 
                autocreateTopics: true
                bootstrapServers: 'example-kafka-kafka-bootstrap.kie-server-kafka.svc:9092'
        useImageTags: true
      
      Show
      Add to server env variables with name: JAVA_OPTS_APPEND and value: '-Dorg.kie.kafka.server.ext.disabled=false' apiVersion: app.kiegroup.org/v 2 kind: KieApp metadata: name: cc-limit-approve namespace: kie-server-kafka spec: commonConfig: adminPassword: admin adminUser: admin environment: rhpam-production-immutable objects: servers: - build: gitSource: reference: master uri: 'https://github.com/kmacedovarela/cc-limit-approval-app.git' kieServerContainerDeployment: 'ccLimitContianer=com.myspace:cc-limit-approval-app: 1 . 0 . 0 -SNAPSHOT' env: - name: JAVA_OPTS_APPEND value: '-Dorg.kie.kafka.server.ext.disabled=false' kafka: autocreateTopics: true bootstrapServers: 'example-kafka-kafka-bootstrap.kie-server-kafka.svc: 9092 ' useImageTags: true
    • Hide

      Run KieApp with Kafka integration, e.g.:

      apiVersion: app.kiegroup.org/v2
      kind: KieApp
      metadata: 
        name: cc-limit-approve
        namespace: kie-server-kafka
      spec: 
        commonConfig: 
          adminPassword: admin
          adminUser: admin
        environment: rhpam-production-immutable
        objects: 
          servers: 
            - build: 
                gitSource: 
                  reference: master
                  uri: 'https://github.com/kmacedovarela/cc-limit-approval-app.git'
                kieServerContainerDeployment: 'ccLimitContianer=com.myspace:cc-limit-approval-app:1.0.0-SNAPSHOT'
              kafka: 
                autocreateTopics: true
                bootstrapServers: 'example-kafka-kafka-bootstrap.kie-server-kafka.svc:9092'
        useImageTags: true
      
      Show
      Run KieApp with Kafka integration, e.g.: apiVersion: app.kiegroup.org/v 2 kind: KieApp metadata: name: cc-limit-approve namespace: kie-server-kafka spec: commonConfig: adminPassword: admin adminUser: admin environment: rhpam-production-immutable objects: servers: - build: gitSource: reference: master uri: 'https://github.com/kmacedovarela/cc-limit-approval-app.git' kieServerContainerDeployment: 'ccLimitContianer=com.myspace:cc-limit-approval-app: 1 . 0 . 0 -SNAPSHOT' kafka: autocreateTopics: true bootstrapServers: 'example-kafka-kafka-bootstrap.kie-server-kafka.svc: 9092 ' useImageTags: true

    Description

      When is configured Kie Server and Kafka integration using Operator (RHPAM-3331), the Kie Server kafka extension was not activated - on Kie Server is missing BPM-KAFKA capability.
      I checked the properties. Right now in Kie Server image is kafka enabled by property 'org.kie.server.jbpm-kafka.ext.disabled = false'. I check this with existing documentation with on premise solution and this property is not correct, there should be used 'org.kie.kafka.server.ext.disabled = false'.
      I did try a workaround and add this property using JAVA_OPTS_APPEND env variable to Kie Server object in KieApp yaml. After Kie Server restart, I can see that BPM-KAFKA capability is enabled on Kie Server.

      Attachments

        Issue Links

          Activity

            People

              mdessi-1 Massimiliano Dessi
              jakubschwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: