public class EventMeshCloudEventBuilder
extends java.lang.Object
| 构造器和说明 |
|---|
EventMeshCloudEventBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.util.Map<java.lang.String,org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent.CloudEventAttributeValue> |
buildCommonCloudEventAttributes(EventMeshGrpcClientConfig clientConfig,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType) |
static <T> org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent |
buildEventMeshCloudEvent(T message,
EventMeshGrpcClientConfig clientConfig,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType) |
static <T> org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEventBatch |
buildEventMeshCloudEventBatch(java.util.List<T> messageList,
EventMeshGrpcClientConfig clientConfig,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType) |
static org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent |
buildEventSubscription(EventMeshGrpcClientConfig clientConfig,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType,
java.lang.String url,
java.util.List<org.apache.eventmesh.common.protocol.SubscriptionItem> subscriptionItems) |
static <T> T |
buildMessageFromEventMeshCloudEvent(org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent cloudEvent,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType) |
public static java.util.Map<java.lang.String,org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent.CloudEventAttributeValue> buildCommonCloudEventAttributes(EventMeshGrpcClientConfig clientConfig, org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType)
public static org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent buildEventSubscription(EventMeshGrpcClientConfig clientConfig, org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType, java.lang.String url, java.util.List<org.apache.eventmesh.common.protocol.SubscriptionItem> subscriptionItems)
public static <T> org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent buildEventMeshCloudEvent(T message,
EventMeshGrpcClientConfig clientConfig,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType)
T - message - clientConfig - protocolType - public static <T> org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEventBatch buildEventMeshCloudEventBatch(java.util.List<T> messageList,
EventMeshGrpcClientConfig clientConfig,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType)
public static <T> T buildMessageFromEventMeshCloudEvent(org.apache.eventmesh.common.protocol.grpc.cloudevents.CloudEvent cloudEvent,
org.apache.eventmesh.common.enums.EventMeshProtocolType protocolType)