Class MetadataInfo


  • @Immutable
    public final class MetadataInfo
    extends Object
    Data holder for metadata info common for different event types.
    Since:
    9.5
    • Constructor Detail

      • MetadataInfo

        public MetadataInfo​(@NotNull
                            @NotNull String senderNodeId)
    • Method Detail

      • toGrpcRequestMessage

        @NotNull
        public CrossNodesCommunication.Metadata toGrpcRequestMessage​(boolean handleByDeadLetterQueue)
        Parameters:
        handleByDeadLetterQueue - whether the event on the remote node side should be tried to be handled in case of the failure. If false, the event will be dropped. This is the information for the remote node, the dead letter queue takes care of the local failures and not the transport failures. The param does not provide completion guarantee, this is the best effort only.