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.
|
from
public PulsarConnector(com.yahoo.bullet.common.BulletConfig bulletConfig)
bulletConfig
- The configuration that specifies the settings for a PulsarConnector.public void initialize() throws BulletDSLException
BulletConnector
initialize
in class BulletConnector
BulletDSLException
- if there is an initialization error.public List<Object> read() throws BulletDSLException
BulletConnector
read
in class BulletConnector
BulletDSLException
- if there is a connection or reading error.public void close()
Copyright © 2021. All rights reserved.