InconsistentGroupProtocolException when external Java consumer connects to AMQ Streams broker

Solution Verified - Updated -

Issue

  • I am connecting my external Java Kafka consumer to AMQ Streams hosted on OpenShift 4.x. The consumer always failed to connect to broker and it throws exception:
org.apache.kafka.common.errors.InconsistentGroupProtocolException: The group member's supported protocols are incompatible with those of existing members or first group member tried to join with empty protocol type or empty protocol list.

Environment

  • Red Hat AMQ Streams on OpenShift 4.6
    • 1.7.0
  • Kafka Client
    • 2.3.1

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