Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
7ece09af
Commit
7ece09af
authored
Aug 26, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文件存储路径
parent
23f48f28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common-lib/src/main/java/com/mortals/xhx/queue/DefaultTbCoreConsumerService.java
...a/com/mortals/xhx/queue/DefaultTbCoreConsumerService.java
+2
-2
common-lib/src/main/java/com/mortals/xhx/queue/kafka/AbstractTbQueueConsumerTemplate.java
...tals/xhx/queue/kafka/AbstractTbQueueConsumerTemplate.java
+1
-1
No files found.
common-lib/src/main/java/com/mortals/xhx/queue/DefaultTbCoreConsumerService.java
View file @
7ece09af
...
...
@@ -70,7 +70,7 @@ public class DefaultTbCoreConsumerService extends AbstractConsumerService<TbQueu
comsureQueue
.
offer
(
item
);
}
mainConsumer
.
commit
();
//
mainConsumer.commit();
Thread
.
sleep
(
200
);
}
catch
(
Exception
e
)
{
if
(!
stopped
)
{
...
...
@@ -111,7 +111,7 @@ public class DefaultTbCoreConsumerService extends AbstractConsumerService<TbQueu
comsureQueue
.
offer
(
item
);
}
consumer
.
commit
();
//
consumer.commit();
Thread
.
sleep
(
200
);
}
catch
(
Exception
e
)
{
if
(!
stopped
)
{
...
...
common-lib/src/main/java/com/mortals/xhx/queue/kafka/AbstractTbQueueConsumerTemplate.java
View file @
7ece09af
...
...
@@ -148,7 +148,7 @@ public abstract class AbstractTbQueueConsumerTemplate<R, T extends TbQueueMsg> i
}
}
abstract
protected
List
<
R
>
doPoll
(
long
durationInMillis
)
throws
InterruptedException
;
abstract
protected
List
<
R
>
doPoll
(
long
durationInMillis
);
abstract
protected
T
decode
(
R
record
);
...
...
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