Package io.camunda.zeebe.engine.api
Interface InterPartitionCommandSender
public interface InterPartitionCommandSender
Supports sending arbitrary commands to another partition. Sending may be unreliable and fail
silently, it is up to the caller to detect this and retry.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendCommand(int receiverPartitionId, ValueType valueType, Intent intent, BufferWriter command) voidsendCommand(int receiverPartitionId, ValueType valueType, Intent intent, Long recordKey, BufferWriter command) Deprecated, for removal: This API element is subject to removal in a future version.This is only available for compatability with deployment distribution.
-
Method Details
-
sendCommand
-
sendCommand
@Deprecated(forRemoval=true) void sendCommand(int receiverPartitionId, ValueType valueType, Intent intent, Long recordKey, BufferWriter command) Deprecated, for removal: This API element is subject to removal in a future version.This is only available for compatability with deployment distribution.Uses the given record key when writing the command. Otherwise, behaves likesendCommand(int, io.camunda.zeebe.protocol.record.ValueType, io.camunda.zeebe.protocol.record.intent.Intent, io.camunda.zeebe.util.buffer.BufferWriter)- Parameters:
recordKey- Record key to use when writing the command. Ignored if null.
-