public class GenericRecordSource extends Object implements Source<org.apache.pulsar.client.api.schema.GenericRecord>
GenericRecords.| Constructor and Description |
|---|
GenericRecordSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(Map<String,Object> config,
SourceContext sourceContext) |
org.apache.pulsar.functions.api.Record<org.apache.pulsar.client.api.schema.GenericRecord> |
read() |
public void open(Map<String,Object> config, SourceContext sourceContext) throws Exception
public org.apache.pulsar.functions.api.Record<org.apache.pulsar.client.api.schema.GenericRecord> read()
throws Exception
public void close()
close in interface AutoCloseableCopyright © 2017–2022 Apache Software Foundation. All rights reserved.