Skip to main content

Bifrost Integration Chat — 2026-03-19 (Thursday)

Channel: #forsyt-bm-integration (Suntech Innovation Slack)


Michael Cheremuhin — 2:12 AM

@Bhargav for 24/7 support which channel is preferred for you - whatsapp, signal, teams, telegram? we can keep this channel for dev/integration discussions, but i need to pass you further to support team

Thread (1 replies):

Bhargav — 6:11 PM Let's do on Telegram @Michael Cheremuhin


Michael Cheremuhin — 2:45 PM

@Bhargav hi! we can't see any prod bets from you. did you go live?


Bhargav — 3:39 PM

Hi Michael,

We've deployed our latest fixes to both preprod and production. Here's where things stand:

What we fixed:

  1. Event mapping — Now supports multiple Bifrost event IDs per Betfair event (was 1:1 before, causing data loss)
  2. Odds fetching — Resolves all mapped event IDs when fetching odds for a fixture
  3. Catalogue preservation — Settled/closed market catalogues are no longer deleted prematurely
  4. Bet placement — Now correctly passes priceIndex and line to Bifrost
  5. Post-settlement void safety — Atomic guard prevents double balance credits on concurrent void/unsettlement messages
  6. Line tracking — We now persist and display the line value at placement time
  7. Health monitoring — New health endpoint for real-time cache and queue diagnostics

Preprod status (connected to mq-preprod-bifrost-api.bifrost.bet):

  • Queues connected, receiving ~11,800 events and ~12,400 market catalogues
  • ALL events arrive with sportId "1" (soccer) — zero cricket (sportId "2") events with market data
  • Events like "Mumbai Maverics v TBC" are in the queue but tagged as sportId "1" instead of "2"
  • Our system filters for cricket (sportId "2") so these are correctly rejected — but it means we can't test the cricket flow

Production status (connected to mq.bifrost.bet):

  • Queues connected, 6 consumers running, adapter healthy
  • Before our deploy, we had ~40 events and ~900 catalogues cached, with Betfair-to-Bifrost event mapping working (e.g. Betfair fixture 35385552 → Bifrost event 9.40432)
  • However, getOdds was returning 0 markets for cricket fixtures — market books weren't linking to events/catalogues
  • After our deploy and restart, the cache is repopulating but we're seeing the same pattern: events come in but no usable cricket markets are produced
  • All 5 market books currently in cache have status SUSPENDED

What we need to move forward:

  1. Are cricket events supposed to come through with sportId "2"? On both preprod and production, everything arrives as "1"
  2. The market books we receive aren't linking to catalogues/events — is there a specific sequence or recovery mechanism we should trigger on your side? 3. Happy to jump on a quick call to debug the data flow together if that helps

Bhargav — 4:32 PM

Also Michael — we triggered a full recovery on production just now and both recovery API endpoints are returning 502/503: • POST /api/v1/recovery/events — 502/503 (3 attempts, all failed) • - POST /api/v1/recovery/markets — 502/503 (3 attempts, all failed) • The MQ connection is live but no new data is coming through the queues either. Is api.bifrost.bet currently healthy on your side?


Bhargav — 5:07 PM

@Michael Cheremuhin Can we get on a quick call and list down all the issues and how we should move forward. IPL is near and this is very critical for us.


Michael Cheremuhin — 7:09 PM

@Bhargav we had production maintenance today, so let's please do things from scratch now


Michael Cheremuhin — 7:09 PM

please do a recovery requesting actual events and markets fist, to see what might be not ok there

Thread (1 replies):

Bhargav — 8:46 PM Just did it. We currently have live markets for 1 event


Michael Cheremuhin — 7:09 PM

in preprod you have soccer enabled, so you see soccer events and markets to take next

Thread (1 replies):

Bhargav — 8:46 PM Okay. We will work on it.


Michael Cheremuhin — 7:11 PM

also, which currency you are using in prod, INR?


Michael Cheremuhin — 7:11 PM

enabling both INR and HKD for you

Thread (2 replies):

Bhargav — 8:47 PM We need both these. Will let you know if we need any more

Michael Cheremuhin — 4:39 PM both are available


Bhargav — 8:55 PM

@Michael Cheremuhin

  1. What's the minimum bet amount set currently on prod and pre prod.
  2. Is is same for every market for any event?
  3. Can you tell me how can we check this min bet value with APIs as I see for many markets we don't get this value?
  4. How can we check our current account credit limit?

Thread (2 replies):

Michael Cheremuhin — 9:55 PM will clarfiy and get back to you

Michael Cheremuhin — 4:10 AM

  1. out suggestion is equivalent of 1$ or 10 hkd. lower numbers might get some truncation issues
  2. yep, you can apply everywhere
  3. we don't set it, that for operators to decide
  4. we are preparing customer endpoints to see the balance and current exposure, will be available within couple of weeks