Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
operating-vehicle
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜发飞
operating-vehicle
Commits
655c5792
Commit
655c5792
authored
Nov 05, 2019
by
王建成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2ae921dd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
52 deletions
+31
-52
src/main/scala/com/hikcreate/data/constant/ApolloConst.scala
+6
-0
src/main/scala/com/hikcreate/data/sync/SysncHiveBatch.scala
+25
-52
No files found.
src/main/scala/com/hikcreate/data/constant/ApolloConst.scala
View file @
655c5792
...
...
@@ -5,8 +5,14 @@ import com.hikcreate.data.model.TableKey
object
ApolloConst
{
val
config
:
Config
=
ConfigService
.
getConfig
(
"application"
)
var
hdfsUrl
:
String
=
config
.
getProperty
(
"hdfs.url"
,
null
)
var
windowTime
:
Long
=
config
.
getLongProperty
(
"window.time"
,
1L
)
var
compactTopic
:
Seq
[
String
]
=
config
.
getProperty
(
"compact.kafka.topic"
,
null
).
split
(
","
)
val
delayMax
:
Integer
=
config
.
getIntProperty
(
"spark.delay.max"
,
1
)
val
recipients
:
Seq
[
String
]
=
config
.
getProperty
(
"spark.email.receiver"
,
null
).
split
(
","
)
...
...
src/main/scala/com/hikcreate/data/sync/SysncHiveBatch.scala
View file @
655c5792
This diff is collapsed.
Click to expand it.
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