Package com.fayupable.snowflake.jpaspring
package com.fayupable.snowflake.jpaspring
-
ClassesClassDescriptionPublishes generator activity as Micrometer counters, so it shows up in whatever backend the application already has configured (Prometheus, Grafana, or nothing at all if no registry is wired).Wires a Spring-managed
IdGeneratorfromSnowflakePropertiesand publishes it toSnowflakeIdGeneratorHolder, since Hibernate instantiatesSnowflakeIdentifierGeneratorvia reflection and never asks theApplicationContextfor it.Binds to thesnowflakeprefix inapplication.yml/application.properties.