Commit 9589eade by wnb0128

车家智能数据服务 推送消息日志--think.wang

1 parent d1bd1c5c
...@@ -47,7 +47,7 @@ public class DeviceAddressProducer { ...@@ -47,7 +47,7 @@ public class DeviceAddressProducer {
KeyedMessage<byte[], byte[]> message = new KeyedMessage<>(topic, deviceId.getBytes(), sendMessage.getBytes()); KeyedMessage<byte[], byte[]> message = new KeyedMessage<>(topic, deviceId.getBytes(), sendMessage.getBytes());
producer.send(message); producer.send(message);
}catch (Exception e){ }catch (Exception e){
log.error("消息推送kafka失败:{}", e);
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!