MetricsRegistry is erroneously forwarded to the datasource
sebastianpoeplau opened this issue · 6 comments
sebastianpoeplau commented
When the option :metric-registry
is specified in a call to datasource-config
, hikari-cp attempts to set the property "metricRegistry" in the datasource instead of just setting the registry in HikariConfig, which fails at least for Postgres.
The reason, I believe, is that datasource-config
fails to remove :metric-registry
from the options before setting datasource properties. Will submit a PR...
jstepien commented
Sure, I'll try to publish a release over the weekend.
jstepien commented
gaczm commented
thanks :)