Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
ZHHT-IRN-BD-ANALYSIS
Project
Overview
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
李凯旋
ZHHT-IRN-BD-ANALYSIS
Commits
15ac2829
Commit
15ac2829
authored
Dec 05, 2022
by
吴延飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改Kafka配置读取逻辑,优先从方法参数获取,然后从命令行参数获取,最后从配置文件读取,所以配置文件必须有值,否则程序报错。
parent
96d5340b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
106 additions
and
44 deletions
+106
-44
FlinkUtils.java
...treaming/src/main/java/com/zhht/irn/utils/FlinkUtils.java
+103
-42
kafka.properties
...me/hologram-streaming/src/main/resources/kafka.properties
+3
-2
No files found.
realtime/hologram-streaming/src/main/java/com/zhht/irn/utils/FlinkUtils.java
View file @
15ac2829
This diff is collapsed.
Click to expand it.
realtime/hologram-streaming/src/main/resources/kafka.properties
View file @
15ac2829
...
...
@@ -3,4 +3,5 @@ kafka.input.topics=trips_info
auto.offset.reset
=
latest
group.id
=
wuyanfei
checkpoint.path
=
file:///f/workspace/flink/state
checkpoint.interval
=
5000
\ No newline at end of file
checkpoint.interval
=
5000
enable.auto.commit
=
false
\ No newline at end of file
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