Kafka Events

19 producer topics across 6 categories and 3 consumer groups published to Amazon MSK Serverless.

Event Format: CloudEvents 1.0

All events follow the CloudEvents 1.0 specification. Events are partitioned by tenant_id and published to Amazon MSK Serverless. blockchain-svc is both a producer and consumer — it publishes blockchain events and consumes ticketing, user, and wallet events from other services.

Brokers

EnvironmentBrokerAuth
Stagingboot-gpm4u49z.c2.kafka-serverless.us-east-1.amazonaws.com:9098SASL/OAUTHBEARER (IAM)
Productionb-1.eventzr-msk-prod.ap-south-1.amazonaws.com:9098SASL/OAUTHBEARER (IAM)

Event Envelope

CloudEvents 1.0 envelopejson
{
  "specversion": "1.0",
  "type": "eventzr.blockchain.ticket.minted.v1",
  "source": "blockchain-svc",
  "id": "evt-550e8400-e29b-41d4-a716-446655440000",
  "time": "2026-02-28T12:00:00.000Z",
  "datacontenttype": "application/json",
  "subject": "tenant-uuid",
  "data": {
    "tenantId": "tenant-uuid",
    "ticketId": "ticket-uuid",
    "contractAddress": "0x1234...abcd",
    "tokenId": 42,
    "chainId": "POLYGON",
    "ownerAddress": "0xabcd...1234",
    "transactionHash": "0xdeadbeef...",
    "blockNumber": 12345678,
    "gasUsed": "21000",
    "costUsd": 0.002
  }
}

Producer Topics (19)

NFT Tickets4

TopicDescription
eventzr.blockchain.ticket.minted.v1NFT ticket minted on-chain
eventzr.blockchain.ticket.transferred.v1Ticket ownership transferred
eventzr.blockchain.ticket.validated.v1Ticket validated at gate
eventzr.blockchain.ticket.revoked.v1Ticket access revoked

POAP & Loyalty2

TopicDescription
eventzr.blockchain.poap.minted.v1Proof of Attendance minted
eventzr.blockchain.loyalty.tier_changed.v1User loyalty tier changed

Marketplace3

TopicDescription
eventzr.blockchain.listing.created.v1Resale listing created
eventzr.blockchain.listing.sold.v1Resale listing sold
eventzr.blockchain.revenue.distributed.v1Revenue distributed to stakeholders

Smart Contracts2

TopicDescription
eventzr.blockchain.contract.deployed.v1Smart contract deployed on-chain
eventzr.blockchain.contract.events.v1Contract events (standalone producer)

Wristbands & Gas4

TopicDescription
eventzr.blockchain.wristband.linked.v1NFC wristband linked to ticket
eventzr.blockchain.wristband.tapped.v1NFC wristband tap event
eventzr.blockchain.gas.sponsored.v1Gas-sponsored transaction executed
eventzr.blockchain.gas.updated.v1Gas price update

Telemetry4

TopicDescription
eventzr.blockchain.nft.events.v1NFT mint events
eventzr.blockchain.transaction.events.v1Transaction confirmed
eventzr.blockchain.quota.events.v1Quota exceeded events
eventzr.kg.blockchainKnowledge Graph events for Neptune

Consumer Topics (3)

Consumer Groups

blockchain-svc consumes events from other services to trigger on-chain operations (e.g., minting tickets when purchased, updating loyalty tiers on subscription changes).

TopicConsumer GroupDescription
ticketing-eventsblockchain-svc-ticketing-consumerTicket purchase/cancel from ticketing-svc
user-events / billing-eventsblockchain-svc-user-consumerTier changes, subscription renewals
wallet-eventsblockchain-svc-wallet-consumerWallet creation, balance updates