smallrye-reactive-messaging-kafka health check slower on RHBQ 2.13.5

Solution In Progress - Updated -

Issue

  • Moving from the Red Hat Build of Quarkus (RHBQ) 2.7 to 2.13.5, a generic reactive messaging kafka microservice such as described at Getting Started to SmallRye Reactive Messaging with Apache Kafka deployed on Openshift Container Platform (OCP) 4.10 using health-topic-verification-enabled=true and the default timeout of 1s is intermittently failing health checks.

  • When the readiness is slow, the checks are duplicated:

$ curl localhost:8080/q/health/ready

{
    "status": "UP",
    "checks": [
        {
            "name": "Kafka Streams state health check",
            "status": "UP",
            "data": {
                "state": "RUNNING"
            }
        },
        {
            "name": "Kafka Streams state health check",
            "status": "UP",
            "data": {
                "state": "RUNNING"
            }
        },
        {
            "name": "Kafka Streams topics health check",
            "status": "UP",
            "data": {
                "available_topics": "skube-java-sdk-dev-samples.ping-events,skube-java-sdk-dev-samples.pong-events,skube-java-sdk-dev-samples.global-dlq,skube-java-sdk-dev-samples.skube-kstream-sample-dlq"
            }
        },
        {
            "name": "Kafka Streams topics health check",
            "status": "UP",
            "data": {
                "available_topics": "skube-java-sdk-dev-samples.ping-events,skube-java-sdk-dev-samples.pong-events,skube-java-sdk-dev-samples.global-dlq,skube-java-sdk-dev-samples.skube-kstream-sample-dlq"
            }
        }
    ]
}

Environment

  • Red Hat Build of Quarkus (RHBQ) 2.13.5 running in Java mode
  • Openshift Container Platform (OCP) 4.10
  • Red Hat build of OpenJDK
    • 11
    • 17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content