Handle multiple sets of credentials with a single ApnsClient instance
See original GitHub issueNow that we’ve introduced connection pooling in #492, the next big step will be to get clients to choose connections from different sub-pools depending on the topic to which a notification should be sent (and therefore which credentials the client should use). To get there, we’ll probably need to introduce some abstract notion of ApnsCredentials
that has subclasses/implementations for X509 certificates and PKCS#8 signing keys, and then extend the existing connection pool infrastructure to add “keyed” pool functionality.
The end result will be that callers will only need to have a single ApnsClient
instance for all of their destination apps, which will probably be a big win for high-volume users.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Pull requests · jchambers/pushy - GitHub
Handle multiple sets of credentials with a single ApnsClient instance. #948 opened on Feb 27 by jchambers • Draft v0.16.0.
Read more >ApnsClientBuilder (Pushy 0.10 API)
An ApnsClientBuilder constructs new ApnsClient instances. ... Sets the TLS credentials for the client under construction using the contents of the given ...
Read more >ApnsClientBuilder (Pushy 0.12.1 API) - javadoc.io
An ApnsClientBuilder constructs new ApnsClient instances. ... Sets the TLS credentials for the client under construction using the contents of the given ...
Read more >VMware Workspace ONE UEM 2105 - Console Basics
You can only choose multiple entities of a single type per session. For example, you may assign multiple groups to up to 10...
Read more >com.turo.pushy.apns.ApnsClientBuilder.java Source code
Client builders may be reused to generate multiple clients, and their settings may be changed from one client * to the next. APNs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s the next major feature planned, but there’s isn’t a specific timeline for release.
Just some cents from a user about the KeyedPooledObjectFactory topic above:
We are one of those users having several topics with the same keys. Thus, I think it wouldn’t be ideal to have connection pools per topic (but of course I may be biased here). In case its of any worth for you: in our service we have the concept of an app-group and topics are mapped to app-groups. Maybe a similar concept would be helpful for pushy?