[collector] 采集任务调度优化,kafka发送消息编码

This commit is contained in:
tomsun28
2021-11-17 01:30:49 +08:00
parent 94a44a7f2e
commit 1f4259364c
4 changed files with 32 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ public class Monitor {
/**
* 监控状态 0:未监控,1:可用,2:不可用,3:不可达,4:挂起
*/
@ApiModelProperty(value = "监控状态 0:未监控,1:可用,2:不可用,3:不可达,4:挂起", example = "1", accessMode = READ_WRITE, position = 6)
@ApiModelProperty(value = "监控状态 0:未监控,1:可用,2:不可用,3:不可达,4:挂起", accessMode = READ_WRITE, position = 6)
@Min(0)
@Max(4)
private byte status;

View File

@@ -62,7 +62,7 @@ public class Param {
/**
* 参数类型 0:数字 1:字符串 2:加密串
*/
@ApiModelProperty(value = "参数类型 0:数字 1:字符串 2:加密串", example = "0", accessMode = READ_WRITE, position = 4)
@ApiModelProperty(value = "参数类型 0:数字 1:字符串 2:加密串", accessMode = READ_WRITE, position = 4)
@Min(0)
@Max(2)
private byte type;