You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have more than one client to connect to different servers? I need to publish messages on 2 different brokers. I only see one mqtt.client.server-uri {type: String) configuration variable.
The text was updated successfully, but these errors were encountered:
Perhaps doing something like the http-client does using low level client? public GithubLowLevelClient(@Client(id = "github") HttpClient httpClient, GithubConfiguration configuration)
or declarative client?
@Client(id = "github")
@Header(name = USER_AGENT, value = "Micronaut HTTP Client")
@Header(name = ACCEPT, value = "application/vnd.github.v3+json, application/json")
public interface GithubApiClient {
@Get("/repos/${github.organization}/${github.repo}/releases")
Publisher<GithubRelease> fetchReleases();
}
Issue description
Is it possible to have more than one client to connect to different servers? I need to publish messages on 2 different brokers. I only see one mqtt.client.server-uri {type: String) configuration variable.
The text was updated successfully, but these errors were encountered: