@@ -58,9 +58,6 @@ func NewFactory() exporter.Factory {
58
58
}
59
59
60
60
func createDefaultConfig () component.Config {
61
- batcherCfg := exporterhelper .NewDefaultBatcherConfig () //nolint:staticcheck
62
- batcherCfg .Enabled = false
63
-
64
61
defaultMaxConns := defaultMaxIdleCons
65
62
defaultIdleConnTimeout := defaultIdleConnTimeout
66
63
@@ -79,7 +76,6 @@ func createDefaultConfig() component.Config {
79
76
SplunkAppName : defaultSplunkAppName ,
80
77
BackOffConfig : configretry .NewDefaultBackOffConfig (),
81
78
QueueSettings : exporterhelper .NewDefaultQueueConfig (),
82
- BatcherConfig : batcherCfg ,
83
79
DisableCompression : false ,
84
80
MaxContentLengthLogs : defaultContentLengthLogsLimit ,
85
81
MaxContentLengthMetrics : defaultContentLengthMetricsLimit ,
@@ -132,7 +128,6 @@ func createTracesExporter(
132
128
exporterhelper .WithQueue (cfg .QueueSettings ),
133
129
exporterhelper .WithStart (c .start ),
134
130
exporterhelper .WithShutdown (c .stop ),
135
- exporterhelper .WithBatcher (cfg .BatcherConfig ), //nolint:staticcheck
136
131
)
137
132
if err != nil {
138
133
return nil , err
@@ -166,7 +161,6 @@ func createMetricsExporter(
166
161
exporterhelper .WithQueue (cfg .QueueSettings ),
167
162
exporterhelper .WithStart (c .start ),
168
163
exporterhelper .WithShutdown (c .stop ),
169
- exporterhelper .WithBatcher (cfg .BatcherConfig ), //nolint:staticcheck
170
164
)
171
165
if err != nil {
172
166
return nil , err
@@ -200,7 +194,6 @@ func createLogsExporter(
200
194
exporterhelper .WithQueue (cfg .QueueSettings ),
201
195
exporterhelper .WithStart (c .start ),
202
196
exporterhelper .WithShutdown (c .stop ),
203
- exporterhelper .WithBatcher (cfg .BatcherConfig ), //nolint:staticcheck
204
197
)
205
198
if err != nil {
206
199
return nil , err
0 commit comments