Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_strategy_cvr
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
gm_strategy_cvr
Commits
17b9af1d
Commit
17b9af1d
authored
Aug 10, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try offset
parent
4d6d7874
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
online_prediction.py
src/online_prediction.py
+1
-1
No files found.
src/online_prediction.py
View file @
17b9af1d
...
@@ -13,7 +13,7 @@ def consume_kafka(device_dict, diary_dict, tractate_dict, diary_predict_fn, trac
...
@@ -13,7 +13,7 @@ def consume_kafka(device_dict, diary_dict, tractate_dict, diary_predict_fn, trac
consumer
=
KafkaConsumer
(
bootstrap_servers
=
"172.16.44.25:9092,172.16.44.31:9092,172.16.44.45:9092"
,
consumer
=
KafkaConsumer
(
bootstrap_servers
=
"172.16.44.25:9092,172.16.44.31:9092,172.16.44.45:9092"
,
group_id
=
"essm_online_prediction"
,
group_id
=
"essm_online_prediction"
,
enable_auto_commit
=
True
,
enable_auto_commit
=
True
,
auto_offset_reset
=
"
lat
est"
,
auto_offset_reset
=
"
earli
est"
,
auto_commit_interval_ms
=
1000
)
auto_commit_interval_ms
=
1000
)
consumer
.
subscribe
([
"gm-portrait-update-device"
])
consumer
.
subscribe
([
"gm-portrait-update-device"
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment