public class PulsarConnector extends BulletConnector
BulletConnector that reads and deserializes messages from Pulsar.config| Constructor and Description |
|---|
PulsarConnector(com.yahoo.bullet.common.BulletConfig bulletConfig)
Constructs a PulsarConnector from a given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
initialize()
Initializes the BulletConnector.
|
List<Object> |
read()
Reads and deserializes messages from a data source.
|
frompublic PulsarConnector(com.yahoo.bullet.common.BulletConfig bulletConfig)
bulletConfig - The configuration that specifies the settings for a PulsarConnector.public void initialize()
throws BulletDSLException
BulletConnectorinitialize in class BulletConnectorBulletDSLException - if there is an initialization error.public List<Object> read() throws BulletDSLException
BulletConnectorread in class BulletConnectorBulletDSLException - if there is a connection or reading error.public void close()
Copyright © 2021. All rights reserved.