Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-device-kafka-consumer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9c17576f
authored
Apr 16, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]kafka消费数据修改
1 parent
9536124e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/cn/com/glsx/smart/utils/ProtobufConvert.java
src/main/java/cn/com/glsx/smart/utils/ProtobufConvert.java
View file @
9c17576
...
@@ -78,6 +78,7 @@ public class ProtobufConvert {
...
@@ -78,6 +78,7 @@ public class ProtobufConvert {
return
null
;
return
null
;
}
}
Event
event
=
new
Event
();
Event
event
=
new
Event
();
LOGGER
.
info
(
"离家数据推送,设备号{}"
+
String
.
valueOf
(
protobufFlameOut
.
getSn
()));
event
.
setSn
(
String
.
valueOf
(
protobufFlameOut
.
getSn
()));
event
.
setSn
(
String
.
valueOf
(
protobufFlameOut
.
getSn
()));
event
.
setDeviceType
(
Constants
.
MACHINE_LEAVE_ORDER
);
event
.
setDeviceType
(
Constants
.
MACHINE_LEAVE_ORDER
);
event
.
setTime
(
DateUtils
.
parseDate
(
DateUtils
.
parseTimeStampDate
(
protobufFlameOut
.
getTriggerTime
())));
event
.
setTime
(
DateUtils
.
parseDate
(
DateUtils
.
parseTimeStampDate
(
protobufFlameOut
.
getTriggerTime
())));
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment