Commit 559260f4 authored by 宋新宇's avatar 宋新宇

Merge branch '3-抖音短剧及短剧app归因接入' into 'release_20240327_01'

短剧APP归因

See merge request !14
parents b31ca8db 9329b9a7
......@@ -38,27 +38,27 @@ public class VideoAppBehavoirConsumer {
long begin = System.currentTimeMillis();
if (VIDEO_SYS_LOG.isInfoEnabled()) {
VIDEO_SYS_LOG.info("media.active.onMessage start ,size = {}", datas.size());
VIDEO_SYS_LOG.info("media.behavoir.onMessage start ,size = {}", datas.size());
}
for (ConsumerRecord<String, String> data : datas) {
try {
if (data == null) {
VIDEO_SYS_LOG.warn("media.active.story.onMessage listen 消费数据为null");
VIDEO_SYS_LOG.warn("media.behavoir.story.onMessage listen 消费数据为null");
return;
}
VIDEO_SYS_LOG.info("media.active.onMessage start, data={}", data == null ? null : data.value());
VIDEO_SYS_LOG.info("media.behavoir.onMessage start, data={}", data == null ? null : data.value());
StoreUserUploadEventBO event = JSON.parseObject(data.value(), StoreUserUploadEventBO.class);
VIDEO_SYS_LOG.info("media.active.topic={}, bookStoreEvent={}", data.topic(), JSON.toJSONString(event));
VIDEO_SYS_LOG.info("media.behavoir.topic={}, bookStoreEvent={}", data.topic(), JSON.toJSONString(event));
NovelAction action = new NovelAction(event.getClientInfo(), data.value(),event.getUserUploadEvent());
videoAppFlowExecutor.getExecutorByStory().execute(action);
} catch (Throwable e) {
VIDEO_ERROR_LOG.info("media.active.onMessage failed, data={}, costTime={} ms", data.value(),
VIDEO_ERROR_LOG.info("media.behavoir.onMessage failed, data={}, costTime={} ms", data.value(),
System.currentTimeMillis() - begin, e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment