About Transaction POS Log
The Transaction POS Log API (TPLA) moves transaction POS logs into the event-driven space. Instead of polling a REST API for new data, FiftyTwo pushes the data to you as it arrives. It pushes rich events, so the payload has what you need without follow-up queries.
The event payload is identical to the one the REST endpoints return.
What this buys you
- No long polling, so less network traffic
- Real-time reaction to transactions
- Resiliency: after a consumer outage, data is ordered and waiting
- Horizontal scale: add consumers round-robin for high volume
- No business logic around HTTP status codes; an event arriving is the data
Transport
Events are delivered over Apache Pulsar. Topics are structured:
Pulsar credentials and your topic path are provisioned per customer and are not part of the OpenAPI specification. Ask your FiftyTwo consultant.
REST endpoints
Three remain, best used for backfill and reconciliation rather than steady-state ingestion:
Pulsar delivery is at-least-once. Any event can arrive twice, so transaction handlers must be idempotent or you will double-count.