Class PulsarProtocol
java.lang.Object
org.apache.streampipes.extensions.connectors.pulsar.adapter.PulsarProtocol
- All Implemented Interfaces:
StreamPipesAdapter,SupportsRuntimeConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyConfiguration(IStaticPropertyExtractor extractor) voidonAdapterStarted(IAdapterParameterExtractor extractor, IEventCollector collector, IAdapterRuntimeContext adapterRuntimeContext) voidonAdapterStopped(IAdapterParameterExtractor extractor, IAdapterRuntimeContext adapterRuntimeContext) org.apache.streampipes.model.connect.guess.GuessSchemaonSchemaRequested(IAdapterParameterExtractor extractor, IAdapterGuessSchemaContext adapterGuessSchemaContext) org.apache.streampipes.model.staticproperty.StaticPropertyresolveConfiguration(String staticPropertyInternalName, IStaticPropertyExtractor extractor)
-
Field Details
-
ID
- See Also:
-
PULSAR_BROKER_HOST
- See Also:
-
PULSAR_BROKER_PORT
- See Also:
-
PULSAR_TOPIC
- See Also:
-
PULSAR_SUBSCRIPTION_NAME
- See Also:
-
-
Constructor Details
-
PulsarProtocol
public PulsarProtocol()
-
-
Method Details
-
applyConfiguration
-
resolveConfiguration
public org.apache.streampipes.model.staticproperty.StaticProperty resolveConfiguration(String staticPropertyInternalName, IStaticPropertyExtractor extractor) throws org.apache.streampipes.commons.exceptions.SpConfigurationException - Specified by:
resolveConfigurationin interfaceSupportsRuntimeConfig- Throws:
org.apache.streampipes.commons.exceptions.SpConfigurationException
-
declareConfig
- Specified by:
declareConfigin interfaceStreamPipesAdapter
-
onAdapterStarted
public void onAdapterStarted(IAdapterParameterExtractor extractor, IEventCollector collector, IAdapterRuntimeContext adapterRuntimeContext) throws org.apache.streampipes.commons.exceptions.connect.AdapterException - Specified by:
onAdapterStartedin interfaceStreamPipesAdapter- Throws:
org.apache.streampipes.commons.exceptions.connect.AdapterException
-
onAdapterStopped
public void onAdapterStopped(IAdapterParameterExtractor extractor, IAdapterRuntimeContext adapterRuntimeContext) throws org.apache.streampipes.commons.exceptions.connect.AdapterException - Specified by:
onAdapterStoppedin interfaceStreamPipesAdapter- Throws:
org.apache.streampipes.commons.exceptions.connect.AdapterException
-
onSchemaRequested
public org.apache.streampipes.model.connect.guess.GuessSchema onSchemaRequested(IAdapterParameterExtractor extractor, IAdapterGuessSchemaContext adapterGuessSchemaContext) throws org.apache.streampipes.commons.exceptions.connect.AdapterException - Specified by:
onSchemaRequestedin interfaceStreamPipesAdapter- Throws:
org.apache.streampipes.commons.exceptions.connect.AdapterException
-