133.3. 实例消费者 - from ("hazelcast-instance:foo")
The instance consumer fires if a new cache instance will join or leave the cluster.
The instance consumer fires if a new cache instance will join or leave the cluster.
下面是一个示例:
每个事件在消息标头中提供以下信息:
响应消息中的标头变量:
| Name | 类型 | 描述 |
|---|---|---|
|
|
| millis 事件的时间 |
|
|
| 映射消费者设置此处的 "instancelistener" |
|
|
| 事件类型 - 这里 添加或删除了 。 |
|
|
| 实例的主机名 |
|
|
| 实例的端口号 |