T - SourceInfo specific for the connectorpublic interface SourceInfoStructMaker<T extends AbstractSourceInfo>
| Modifier and Type | Method and Description |
|---|---|
org.apache.kafka.connect.data.Schema |
schema()
Returns the schema of the source info.
|
org.apache.kafka.connect.data.Struct |
struct(T sourceInfo)
Converts the connector's source info into the struct to be included in the message as the source field.
|
org.apache.kafka.connect.data.Schema schema()
org.apache.kafka.connect.data.Struct struct(T sourceInfo)
sourceInfo - Copyright © 2021 JBoss by Red Hat. All rights reserved.