Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pulsar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NDIP
Pulsar
Commits
d9a603c3
Commit
d9a603c3
authored
9 years ago
by
John Chilton
Browse files
Options
Downloads
Patches
Plain Diff
Fix linting problem.
parent
ce0636a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pulsar/client/amqp_exchange.py
+2
-2
2 additions, 2 deletions
pulsar/client/amqp_exchange.py
with
2 additions
and
2 deletions
pulsar/client/amqp_exchange.py
+
2
−
2
View file @
d9a603c3
...
@@ -186,8 +186,8 @@ class PulsarExchange(object):
...
@@ -186,8 +186,8 @@ class PulsarExchange(object):
key
=
self
.
__queue_name
(
name
)
key
=
self
.
__queue_name
(
name
)
publish_log_prefix
=
self
.
__publish_log_prefex
(
transaction_uuid
)
publish_log_prefix
=
self
.
__publish_log_prefex
(
transaction_uuid
)
log
.
debug
(
"
%sBegin publishing to key %s
"
,
publish_log_prefix
,
key
)
log
.
debug
(
"
%sBegin publishing to key %s
"
,
publish_log_prefix
,
key
)
if
(
self
.
acks_enabled
and
not
name
.
endswith
(
ACK_QUEUE_SUFFIX
)
if
(
self
.
acks_enabled
and
not
name
.
endswith
(
ACK_QUEUE_SUFFIX
)
and
and
ACK_FORCE_NOACK_KEY
not
in
payload
):
ACK_FORCE_NOACK_KEY
not
in
payload
):
# Publishing a message on a normal queue and it's not a republish
# Publishing a message on a normal queue and it's not a republish
# (or explicitly forced do-not-ack), so add ack keys
# (or explicitly forced do-not-ack), so add ack keys
ack_uuid
=
str
(
transaction_uuid
)
ack_uuid
=
str
(
transaction_uuid
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment