{"id":39336344,"url":"https://github.com/dniel/demo-micronaut-default-http-client-config-values","last_synced_at":"2026-01-18T02:12:16.056Z","repository":{"id":314855806,"uuid":"1054814506","full_name":"dniel/demo-micronaut-default-http-client-config-values","owner":"dniel","description":"I have created a simple application to demonstrate the default values of the Http Client configuration.","archived":false,"fork":false,"pushed_at":"2026-01-16T13:11:02.000Z","size":112,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T03:43:14.612Z","etag":null,"topics":["kotlin","micronaut"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-11T11:17:34.000Z","updated_at":"2025-12-16T12:57:18.000Z","dependencies_parsed_at":"2025-09-15T08:38:39.166Z","dependency_job_id":"27fa81a3-f8eb-4770-987c-8b49cb32085a","html_url":"https://github.com/dniel/demo-micronaut-default-http-client-config-values","commit_stats":null,"previous_names":["dniel/demo-default-http-client-config-values","dniel/demo-micronaut-default-http-client-config-values"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dniel/demo-micronaut-default-http-client-config-values","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fdemo-micronaut-default-http-client-config-values","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fdemo-micronaut-default-http-client-config-values/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fdemo-micronaut-default-http-client-config-values/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fdemo-micronaut-default-http-client-config-values/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dniel","download_url":"https://codeload.github.com/dniel/demo-micronaut-default-http-client-config-values/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fdemo-micronaut-default-http-client-config-values/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kotlin","micronaut"],"created_at":"2026-01-18T02:12:16.007Z","updated_at":"2026-01-18T02:12:16.051Z","avatar_url":"https://github.com/dniel.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Http Client configuration default values and inheritance\n\n## Description\nI have created a simple application to demonstrate the default values of the Http Client configuration.\nThere is one http client defined in the application, called `HttpBinClient`. \nSee the `application.yml` file for the configuration.\n\nThe global http client is configured with max-concurrent-requests-per-http2-connection: 321\nThe httpbin client does not have a configuration for this property. \nI have created a custom bean creation event listener that logs the configuration of the \nhttpbin client when it's created. I expected the output logged to contain the *321* value \nfor this property (inherited from global http client), but it does not, instead it contains \nthe default value of *2147483647*. \n\n## The output of the application is:\n\n```terminaloutput\n __  __ _                                  _   \n|  \\/  (_) ___ _ __ ___  _ __   __ _ _   _| |_\n| |\\/| | |/ __| '__/ _ \\| '_ \\ / _` | | | | __|\n| |  | | | (__| | | (_) | | | | (_| | |_| | |_\n|_|  |_|_|\\___|_|  \\___/|_| |_|\\__,_|\\__,_|\\__|\n13:10:06.208 [main] INFO  io.micronaut.runtime.Micronaut - No embedded container found. Running as CLI application\n13:10:06.332 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###HttpBinClientCreatedEventListener###Bean of type HttpBinClient has been created!\n13:10:06.332 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###Config for 'HttpBinClient':\n13:10:06.332 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###  connectTimeout = Optional.empty\n13:10:06.332 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###  readTimeout = Optional[PT10S]\n13:10:06.333 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###  pool config isEnabled  = true\n13:10:06.333 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###  pool config maxConcurrentHttp2Connections  = 1\n13:10:06.333 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###  pool config maxConcurrentRequestsPerHttp2Connection  = 2147483647\n13:10:06.333 [main] INFO  n.v.t.t.c.HttpBinClientCreatedEventListener - ###  pool config connectionLocality  = PREFERRED\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdniel%2Fdemo-micronaut-default-http-client-config-values","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdniel%2Fdemo-micronaut-default-http-client-config-values","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdniel%2Fdemo-micronaut-default-http-client-config-values/lists"}