| 限定符和类型 | 方法和说明 |
|---|---|
SendLog |
getOneSendLog(Query query)
查看一条发送日志
|
Long |
getPosition(String topic,
short partition)
查询归档进度信息
|
void |
putConsumeLog(List<ConsumeLog> consumeLogs,
PointTracer tracer)
持久化消费日志
|
void |
putPosition(AchivePosition achivePosition)
持久化归档进度信息
|
void |
putSendLog(List<SendLog> sendLogs,
PointTracer tracer)
持久化发送日志
|
List<ConsumeLog> |
scanConsumeLog(String messageId,
Integer count)
查询消费日志
|
List<SendLog> |
scanSendLog(Query query)
查看发送日志
|
void |
setNameSpace(String nameSpace)
设置归档存储的命名空间
|
void putConsumeLog(List<ConsumeLog> consumeLogs, PointTracer tracer) throws JoyQueueException
consumeLogs - JoyQueueExceptionvoid putSendLog(List<SendLog> sendLogs, PointTracer tracer) throws JoyQueueException
sendLogs - JoyQueueExceptionvoid putPosition(AchivePosition achivePosition) throws JoyQueueException
achivePosition - JoyQueueExceptionLong getPosition(String topic, short partition) throws JoyQueueException
topic - partition - JoyQueueExceptionList<SendLog> scanSendLog(Query query) throws JoyQueueException
query - JoyQueueExceptionSendLog getOneSendLog(Query query) throws JoyQueueException
query - JoyQueueExceptionList<ConsumeLog> scanConsumeLog(String messageId, Integer count) throws JoyQueueException
messageId - count - JoyQueueExceptionvoid setNameSpace(String nameSpace)
nameSpace - Copyright © 2020 Joyqueue Community. All rights reserved.