public class CloudEventServicePulsarImp extends Object implements org.noear.solon.cloud.service.CloudEventServicePlus
| 构造器和说明 |
|---|
CloudEventServicePulsarImp(org.noear.solon.cloud.CloudProps cloudProps) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attention(org.noear.solon.cloud.annotation.EventLevel level,
String channel,
String group,
String topic,
org.noear.solon.cloud.CloudEventHandler observer) |
String |
getChannel() |
String |
getEventConsumerGroup()
消费组
|
String |
getEventProducerGroup()
产品组
|
String |
getGroup() |
boolean |
publish(org.noear.solon.cloud.model.Event event) |
void |
subscribe() |
public CloudEventServicePulsarImp(org.noear.solon.cloud.CloudProps cloudProps)
public boolean publish(org.noear.solon.cloud.model.Event event)
throws org.noear.solon.cloud.exception.CloudEventException
publish 在接口中 org.noear.solon.cloud.service.CloudEventServiceorg.noear.solon.cloud.exception.CloudEventExceptionpublic void attention(org.noear.solon.cloud.annotation.EventLevel level,
String channel,
String group,
String topic,
org.noear.solon.cloud.CloudEventHandler observer)
attention 在接口中 org.noear.solon.cloud.service.CloudEventServicepublic void subscribe()
public String getChannel()
getChannel 在接口中 org.noear.solon.cloud.service.CloudEventServicePluspublic String getGroup()
getGroup 在接口中 org.noear.solon.cloud.service.CloudEventServicePluspublic String getEventConsumerGroup()
public String getEventProducerGroup()
Copyright © 2021. All rights reserved.