List all transactions

GET /v1/transactions

Get a list of all transactions.

Responses

  • 200 application/json

    Transactions response

    Hide response attributes Show response attributes object
    • etag integer(int64)

      Term of a transaction coordinated started a transaction

    • groups array[object]

      Consumer groups for transaction

      Group info

      Hide groups attributes Show groups attributes object
      • etag integer(int64)

        Raft term

      • group_id string

        Group id

    • partitions array[object]

      Partitions for transaction

      Partition info

      Hide partitions attributes Show partitions attributes object
      • etag integer(int64)

        Raft term

      • ns string

        namespace

      • partition_id integer(int64)

        partition

      • topic string

        topic

    • pid object

      Producer identity

      Hide pid attributes Show pid attributes object
      • epoch integer(int64)

        Producer epoch

      • id integer(int64)

        Producer id

    • staleness_ms integer(int64)

      How long transaction does not make progress

    • status string

      Current status for transaction

    • timeout_ms integer(int64)

      Transaction timeout

    • transactional_id string

      Id of an application executing a transaction

    • tx_seq integer(int64)

      tx_seq identifies a transactions within a session

GET /v1/transactions
curl \
 --request GET 'http://localhost:9644/v1/transactions'
Response examples (200)
[
  {
    "etag": 42,
    "groups": [
      {
        "etag": 42,
        "group_id": "string"
      }
    ],
    "partitions": [
      {
        "etag": 42,
        "ns": "string",
        "partition_id": 42,
        "topic": "string"
      }
    ],
    "pid": {
      "epoch": 42,
      "id": 42
    },
    "staleness_ms": 42,
    "status": "string",
    "timeout_ms": 42,
    "transactional_id": "string",
    "tx_seq": 42
  }
]