Class BatchExecutableProcessor
java.lang.Object
io.camunda.connector.runtime.inbound.executable.BatchExecutableProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionBatchExecutableProcessor(InboundConnectorFactory connectorFactory, InboundConnectorContextFactory connectorContextFactory, io.camunda.zeebe.spring.client.metrics.MetricsRecorder metricsRecorder, WebhookConnectorRegistry webhookConnectorRegistry) -
Method Summary
Modifier and TypeMethodDescriptionactivateBatch(Map<UUID, InboundConnectorDetails> request, BiConsumer<Throwable, UUID> cancellationCallback) Activates a batch of inbound connectors.voiddeactivateBatch(List<RegisteredExecutable> executables) Deactivates a batch of inbound connectors.
-
Constructor Details
-
BatchExecutableProcessor
public BatchExecutableProcessor(InboundConnectorFactory connectorFactory, InboundConnectorContextFactory connectorContextFactory, @Autowired(required=false) io.camunda.zeebe.spring.client.metrics.MetricsRecorder metricsRecorder, @Autowired(required=false) WebhookConnectorRegistry webhookConnectorRegistry)
-
-
Method Details
-
activateBatch
public Map<UUID,RegisteredExecutable> activateBatch(Map<UUID, InboundConnectorDetails> request, BiConsumer<Throwable, UUID> cancellationCallback) Activates a batch of inbound connectors. Guarantees that all connectors are activated or none (except non-registered connectors, which can be activated by a different runtime - those are considered valid). -
deactivateBatch
Deactivates a batch of inbound connectors.
-