Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

21721 - Add ordering to FTP_POLLER #1568

Merged
merged 5 commits into from
Jun 11, 2024
Merged

21721 - Add ordering to FTP_POLLER #1568

merged 5 commits into from
Jun 11, 2024

Conversation

seeker25
Copy link
Collaborator

@seeker25 seeker25 commented Jun 11, 2024

Issue #:
bcgov/entity#21721

Description of changes:
Fixes:

  File "/sbc-pay/jobs/ftp-poller/venv/src/gcp-queue/python/gcp-queue/src/gcp_queue/gcp_queue.py", line 209, in publish
    future = publisher.publish(topic, payload, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/sbc-pay/jobs/ftp-poller/venv/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 346, in publish
    raise ValueError(
ValueError: Cannot publish a message with an ordering key when message ordering is not enabled.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@seeker25 seeker25 merged commit a696cf4 into bcgov:main Jun 11, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants