Consumers are not able to consume messages from slave broker once it become live in EAP 7.2 with 3 master-slave pair collocated setup.

Solution Unverified - Updated -

Issue

Phase-1:
1. Load 100 messages on Node-1 with java client
2. Watch for 100 messages on Node-1 and bring it down
3. Watch for backup up status on Node-2 and query backup. Backup broker shows up 100 messages
4. Point the Consumer (java client) to Node-2 and try to consume
5. Zero messages were returned

Logs captured till here Phase-1 folder

Phase-2:
1. Restart Node-1
2. Watch for 100 messages appears on Node-1 queue and backup on Node-2 shows zero / not active anymore at all (Node-1 failback)
3. Point the Consumer (java client) to Node-2 and try to consume, return all 100 messages successfully
Logs captured again at this point Phase-2 logs.

This is exactly the case with my application as well.

Environment

  • EAP
    • 7.2.x

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