Skip to content

Conversation

@styluo
Copy link
Collaborator

@styluo styluo commented Oct 11, 2024

PR 内容

  1. 支持外部定义重试策略
  2. 支持单条事件发送
  3. 支持单条事件发送失败记录到文件中

增加对单条事件发送的相关配置

# 是否开启记录失败日志到文件中
logger.file.enabled=false
# 文件存储目录
logger.file.path=/logs
# 单个文件最大的大小,默认单位为MB
logger.file.max_size=10
# 文件留存天数,-1表示永久留存
logger.file.max_days=-1

# 单条事件发送 读取超时时间
sync.read.timeout=2000
# 单条时间发送 连接超时时间
sync.connection.timeout=2000

测试步骤

  1. 测试重试策略是否生效
  2. 测试日志输出是否正常
  3. 测试单条事件发送是否落库

影响范围

  1. 不影响原有发数逻辑,新增单条事件实时发送能力

是否属于重要变动?

其他信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants