Skip to content

Conversation

@minororange
Copy link

@minororange minororange commented Sep 25, 2025

        $builder = ClientBuilder::create();
        $client = new \GuzzleHttp\Client(['handler' => HandlerStack::create(new CoroutineHandler())]);

        $builder->setHttpClient($client);
        $this->client = $builder->setHosts(explode(',', config('elastic.endpoint')))
            ->setSSLVerification(false)
            ->build();

In the Hyperf framework, when using coroutine cURL and customizing the Handler as shown in the code above, the client set by $builder->setHttpClient($client) does not take effect after build.

(Translation by AI)

Clarified that custom NodePool is not necessary for connecting to Elastic Cloud Hosted or Serverless.
@minororange minororange requested a review from a team as a code owner September 25, 2025 11:45
@cla-checker-service
Copy link

cla-checker-service bot commented Sep 25, 2025

❌ Author of the following commits did not sign a Contributor Agreement:
8e98d06

Please, read and sign the above mentioned agreement if you want to contribute to this project

@github-actions
Copy link

github-actions bot commented Sep 25, 2025

🔍 Preview links for changed docs

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