Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Amazon-Selection-Data
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abel_cjy
Amazon-Selection-Data
Commits
a0bfbc17
Commit
a0bfbc17
authored
Feb 12, 2026
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流量选品-实时任务-更换checkpoint目录
parent
a2b6cfa6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kafka_flow_asin_detail.py
Pyspark_job/my_kafka/kafka_flow_asin_detail.py
+1
-1
kafka_rank_asin_detail.py
Pyspark_job/my_kafka/kafka_rank_asin_detail.py
+1
-1
No files found.
Pyspark_job/my_kafka/kafka_flow_asin_detail.py
View file @
a0bfbc17
...
@@ -62,7 +62,7 @@ class KafkaFlowAsinDetail(Templates):
...
@@ -62,7 +62,7 @@ class KafkaFlowAsinDetail(Templates):
print
(
f
"任务名称:{self.app_name}"
)
print
(
f
"任务名称:{self.app_name}"
)
# Spark实时消费相关参数
# Spark实时消费相关参数
self
.
spark
=
SparkUtil
.
get_stream_spark
(
app_name
=
self
.
app_name
)
self
.
spark
=
SparkUtil
.
get_stream_spark
(
app_name
=
self
.
app_name
)
self
.
check_path
=
f
"/
tmp/chenyuanjie/{self.topic_name}_{self.consumer_type}_test"
if
self
.
test_flag
==
'test'
else
f
"/tmp/chenyuanjie
/{self.topic_name}_{self.consumer_type}"
self
.
check_path
=
f
"/
home/big_data_selection/tmp/kafka_checkpoint/{self.topic_name}_{self.consumer_type}_test"
if
self
.
test_flag
==
'test'
else
f
"/home/big_data_selection/tmp/kafka_checkpoint
/{self.topic_name}_{self.consumer_type}"
# self.previous_date = self.get_previous_date(self)
# self.previous_date = self.get_previous_date(self)
# self.previous_two_date = self.get_previous_two_date(self)
# self.previous_two_date = self.get_previous_two_date(self)
self
.
launch_time_interval_dict
=
self
.
get_launch_time_interval_dict
()
self
.
launch_time_interval_dict
=
self
.
get_launch_time_interval_dict
()
...
...
Pyspark_job/my_kafka/kafka_rank_asin_detail.py
View file @
a0bfbc17
...
@@ -61,7 +61,7 @@ class KafkaRankAsinDetail(Templates):
...
@@ -61,7 +61,7 @@ class KafkaRankAsinDetail(Templates):
print
(
f
"任务名称:{self.app_name}"
)
print
(
f
"任务名称:{self.app_name}"
)
# Spark实时消费相关参数
# Spark实时消费相关参数
self
.
spark
=
SparkUtil
.
get_stream_spark
(
app_name
=
self
.
app_name
)
self
.
spark
=
SparkUtil
.
get_stream_spark
(
app_name
=
self
.
app_name
)
self
.
check_path
=
f
"/
tmp/chenyuanjie/{self.topic_name}_{self.consumer_type}_test"
if
self
.
test_flag
==
'test'
else
f
"/tmp/chenyuanjie
/{self.topic_name}_{self.consumer_type}"
self
.
check_path
=
f
"/
home/big_data_selection/tmp/kafka_checkpoint/{self.topic_name}_{self.consumer_type}_test"
if
self
.
test_flag
==
'test'
else
f
"/home/big_data_selection/tmp/kafka_checkpoint
/{self.topic_name}_{self.consumer_type}"
# self.previous_date = self.get_previous_date(self)
# self.previous_date = self.get_previous_date(self)
# self.previous_two_date = self.get_previous_two_date(self)
# self.previous_two_date = self.get_previous_two_date(self)
self
.
launch_time_interval_dict
=
self
.
get_launch_time_interval_dict
()
self
.
launch_time_interval_dict
=
self
.
get_launch_time_interval_dict
()
...
...
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