Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Remove ack from Go client + pass auth to go http client #2470

Merged
merged 4 commits into from
Nov 8, 2021

Conversation

CHURLZ
Copy link
Contributor

@CHURLZ CHURLZ commented Sep 21, 2021

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe): adapt go client to v3

Changes in this PR

  • Removed ack step for go client
  • Added constructor for Httpclient to allow token based auth

Describe the new behavior from this PR, and why it's needed
Based on Issue # #1659, v3 no longer requires workers to ack tasks. The ack step in the go client prevents the worker from executing the task, and was therefore removed.

Authentication was added due to my own setup, where workers need to auth to perform any action on the api. The existing http client only took url, and so would not allow any auth.

@CHURLZ CHURLZ changed the title Go client Remove ack from Go client + pass auth to go http client Sep 21, 2021
@aravindanr aravindanr added the type: maintenance Refactoring label Oct 11, 2021
@CHURLZ
Copy link
Contributor Author

CHURLZ commented Nov 1, 2021

@aravindanr can we get this through? Current go client is not compatible with v3.

@aravindanr aravindanr merged commit 0e16498 into Netflix:main Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants