michaeljmarshall opened a new pull request, #19975:
URL: https://github.com/apache/pulsar/pull/19975

   ### Motivation
   
   The current function worker interfaces introduced by #8560 are hard to 
extend. It is better to pass an object that we can add fields to as needed.
   
   ### Modifications
   
   * Introduce a new `Authentication` class to wrap all of the relevant 
authentication "data". This class is somewhat unfortunate in that we already 
have many classes that hold authentication information. However, my goal with 
this class is to wrap all of the relevant auth info. This class is only 
currently used in the Function Worker API, but I plan to add it to the rest of 
the Admin HTTP endpoints.
   * Deprecate all of the methods that are no longer needed. Add a default 
implementation to call the new methods that supersede those methods.
   
   ### Verifying this change
   
   There are tests to cover the changes.
   
   ### Does this pull request potentially affect one of the following parts:
   
   This PR changes several interfaces in completely backwards compatible ways. 
It's possible we'll want to improve the abstraction for the `Authentication` 
class by making it an interface.
   
   ### Documentation
   
   - [x] `doc`
   
   This change has Javadoc updates to document the changes.
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/michaeljmarshall/pulsar/pull/37


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to