Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
streamingUserPortrait
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
赵威
streamingUserPortrait
Commits
66563e8e
Commit
66563e8e
authored
Feb 05, 2021
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update logger
parent
dd6c4b88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Main.scala
src/main/scala/com.gmei.up/Main.scala
+3
-3
No files found.
src/main/scala/com.gmei.up/Main.scala
View file @
66563e8e
package
com.gmei.up
import
java.util.Properties
import
com.typesafe.scalalogging.L
ogger
import
com.typesafe.scalalogging.L
azyLogging
import
org.apache.flink.api.scala._
import
org.apache.flink.streaming.api.scala.
{
StreamExecutionEnvironment
,
DataStream
}
import
org.apache.flink.streaming.connectors.kafka.
{
...
...
@@ -28,14 +28,14 @@ class UserInfoDeserializationSchema extends KafkaDeserializationSchema[UserInfo]
Types
.
GENERIC
(
classOf
[
UserInfo
])
}
object
Main
{
object
Main
extends
LazyLogging
{
def
main
(
args
:
Array
[
String
])
:
Unit
=
// println("###############")
// val query = ES.generateServiceDiaryRequest(List("光子嫩肤", "水光针"), List("丰胸", "胸部塑身"), -1)
// println("###############")
try
{
val
logger
=
Logger
(
"Root"
)
val
env
=
StreamExecutionEnvironment
.
getExecutionEnvironment
logger
.
info
(
"hello"
)
// // TODO read from config
...
...
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