-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
@mx-psi Thanks for the table; it was quite helpful.
While not entirely related with this PR, I realized that currently the configoptional
flavours don't seem to handle providing an optional configuration that is enabled by default. For example, if an exporter wants to enable batching by default (as it is a better default for good performance for most exporters) and users can choose to disable batching if required, then there is no good way to do this without explicitly handling the nil
case in the Unmarshal
logic.
Does this make sense or am I misunderstanding the code? If it does make sense, do you think it is worthwhile to handle a case where batch
is explicitly set to nil
in the config definition?
Originally posted by @lahsivjar in #13865 (comment)