RabbitMQ protocol reference
This reference describes the wire protocol used by FeedHub Edge 1.0.0 (feedhub-edge-1.0.0, revision 83a2b29d0f09b6f911700eea03946369bce27629). A direct AMQP 0-9-1 client can use these operations with provisioned access to the corresponding FeedHub deployment. Each operation uses payload schema version 1 in this release.
Start with transport and topology for broker settings, addresses, properties, envelopes, acknowledgement modes and fault types. The examples use client sample-client, instance sandbox, and an illustrative broker at broker.feedhub.example:5671 on virtual host /. Substitute the values from your provisioning handoff.
| Operation | Participants | Required access |
|---|---|---|
| Event snapshot | FeedHub publishes, client consumes | Snapshot queue bound for sport and phase |
| Market snapshot | FeedHub publishes, client consumes | Snapshot queue bound for sport and phase |
| Event index | FeedHub publishes, client consumes | Snapshot queue bound for sport and phase |
| Page active events | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Page sports | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Page countries | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Page tournaments | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Page teams | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Page market types | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Find a sport | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Find a country | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Find a tournament | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Find a team | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Find a market type | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Check publication membership | Client requests, FeedHub replies | Catalog exchange and Direct Reply-To |
| Refresh markets before betting | Client requests, FeedHub replies | Refresh exchange and Direct Reply-To |
| Resync an event | Client requests, FeedHub replies to the client’s replica | Resync request exchange and replica resync queue |
| Probe FeedHub liveness | Client requests, FeedHub replies | Liveness exchange and Direct Reply-To |
| Report an Edge heartbeat | Client reports, FeedHub returns a version verdict | Heartbeat exchange and Direct Reply-To |
| Place a bet | Betting client requests, FeedHub replies | Betting-enabled identity, placement exchange and Direct Reply-To |
| Look up bet status | Betting client requests, FeedHub replies | Betting-enabled identity, status exchange and Direct Reply-To |
| Consume and acknowledge a settlement | FeedHub publishes, betting client consumes and acknowledges | Betting-enabled identity and its results queue |