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

Change the cache to hold a pair of token and type instead of only type #44

Merged
merged 3 commits into from
May 23, 2019

Conversation

shevah
Copy link
Contributor

@shevah shevah commented May 12, 2019

The motivation is that there might be multiple senders with different tokens sending a log with the same type.
For example, consider a default account and a sub-account having different tokens.
One might like to send a log with the same exact type to both accounts.

The motivation is that there might be multiple senders with different tokens sending a log with the same type.
@shevah shevah requested a review from idohalevi May 12, 2019 12:09
Copy link
Contributor

@idohalevi idohalevi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shevah Looks good.

  1. Let's sit and make sure we are not missing any edge cases
  2. Let's delete all the deprecated methods (getOrCreateSenderByType) as we don't create by type anymore. -- I'll bump the release version
  3. I need to follow up with logback + log4j

Copy link
Contributor

@idohalevi idohalevi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shevah Approved!
Can you just bump the version and add the changes to the Release notes

@idohalevi idohalevi merged commit c890a94 into master May 23, 2019
@idohalevi idohalevi deleted the add_pair_token_and_type branch May 23, 2019 07:39
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