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 your feature request related to a problem? Please describe.
Currently, only piplelines.yaml can be deserialized using PluginDurationDeserializer. It doesn't allow DataPrepperConfiguration to use Duration.
Describe the solution you'd like
One solution I could think of is make PluginDurationDeserializer a generic class instead of just for plugins and make it public. We can configure the object mapper of DataPrepperAppConfiguration here with custom deserializer.
The text was updated successfully, but these errors were encountered:
Additionally, this can formalize the concept of a "Data Prepper duration". This is an input string that can be in the format of either an ISO-8601 string or expressed as "Ns" or "Nms" for a specified second or millisecond value.
Is your feature request related to a problem? Please describe.
Currently, only piplelines.yaml can be deserialized using PluginDurationDeserializer. It doesn't allow
DataPrepperConfiguration
to useDuration
.Describe the solution you'd like
One solution I could think of is make
PluginDurationDeserializer
a generic class instead of just for plugins and make it public. We can configure the object mapper of DataPrepperAppConfiguration here with custom deserializer.The text was updated successfully, but these errors were encountered: