Skip to content

Commit 67599c1

Browse files
committed
kafka connect API get offsets
1 parent e8e4347 commit 67599c1

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

contract/src/main/resources/swagger/kafka-connect-api.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,22 @@ paths:
164164
content:
165165
application/json:
166166
schema:
167-
$ref: '#/components/schemas/ConnectorOffsetsReset'
167+
$ref: '#/components/schemas/ConnectorOffsetsError'
168+
169+
get:
170+
tags:
171+
- KafkaConnectClient
172+
summary: Get the offsets for the specified connector
173+
operationId: getConnectorOffsets
174+
parameters:
175+
- in: path
176+
name: connector
177+
required: true
178+
schema:
179+
type: string
180+
responses:
181+
200:
182+
description: OK
168183

169184
/connectors/{connectorName}/status:
170185
get:
@@ -469,7 +484,7 @@ components:
469484
trace:
470485
type: string
471486

472-
ConnectorOffsetsReset:
487+
ConnectorOffsetsError:
473488
type: object
474489
properties:
475490
error_code:

0 commit comments

Comments
 (0)