Kafka Transaction List API (admin/list-transactions-v2.ts)

kafka · src/apis/admin/list-transactions-v2.ts · typescript · Apache-2.0
database, infra, integration, ui, lang:typescript

TypeScript API client for Kafka's ListTransactions v2 protocol, providing request/response types and serialization for transaction state monitoring.

// Source: https://github.com/platformatic/kafka | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { ResponseError } from '../../errors.ts'
import { type NullableString } from '../../protocol/definitions.ts'
import { type Reader } from '../../protocol/reader.ts'
import { Writer } from '../../protocol/writer.ts'
import { createAPI } from '../definitions.ts'
import { type KafkaTransactionState, type TransactionState } from './list-transactions-v0.ts'

export { TransactionStates } from './list-transactions-v0.ts'
export type { TransactionState } from './list-transactions-v0.ts'

export type ListTransactionsRequest = Parameters<typeof createRequest>

export interface ListTransact

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key