Skip to content

[feat] Pulsar Admin Client should support PIP-234 PulsarClientSharedResources for event loop, timer and DNS resolver sharing #24796

Closed

Description

@lhotari

Search before reporting

  • I searched in the issues and found nothing similar.

Motivation

Pulsar Admin client creates it's own AsyncHttpClient with a Netty event loop, timer and DNS resolver and cache. In use cases where it is desired to reduce resource usage and share the DNS settings in the admin client, it would be useful if the Pulsar Admin client would also support PulsarClientSharedResources. PIP-234 implementation #24790 adds support for sharing thread pools and DNS resolver/cache across multiple client instances with PulsarClientSharedResources API.

Solution

Adding sharedResources to the builder and using the resources for the AsyncHttpClient instance.

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. added
    type/enhancement
    on Sep 27, 2025
  2. 3pacccccc commented on Nov 26, 2025

    @3pacccccc
    Contributor

    @lhotari Hi, Lari,I think we can close this issue

  3. lhotari commented on Nov 26, 2025

    @lhotari
    MemberAuthor

    Implemented by #24893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions