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
Copy file name to clipboardExpand all lines: pkg/api/encode_kafka.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@ package api
20
20
typeEncodeKafkastruct {
21
21
Addressstring`yaml:"address" json:"address" doc:"address of kafka server"`
22
22
Topicstring`yaml:"topic" json:"topic" doc:"kafka topic to write to"`
23
-
Balancerstring`yaml:"balancer" json:"balancer" enum:"KafkaEncodeBalancerEnum" doc:"one of the following:"`
24
-
WriteTimeoutint64`yaml:"writeTimeout" json:"writeTimeout" doc:"timeout (in seconds) for write operation performed by the Writer"`
25
-
ReadTimeoutint64`yaml:"readTimeout" json:"readTimeout" doc:"timeout (in seconds) for read operation performed by the Writer"`
26
-
BatchBytesint64`yaml:"batchBytes" json:"batchBytes" doc:"limit the maximum size of a request in bytes before being sent to a partition"`
27
-
BatchSizeint`yaml:"batchSize" json:"batchSize" doc:"limit on how many messages will be buffered before being sent to a partition"`
23
+
Balancerstring`yaml:"balancer,omitempty" json:"balancer,omitempty" enum:"KafkaEncodeBalancerEnum" doc:"one of the following:"`
24
+
WriteTimeoutint64`yaml:"writeTimeout,omitempty" json:"writeTimeout,omitempty" doc:"timeout (in seconds) for write operation performed by the Writer"`
25
+
ReadTimeoutint64`yaml:"readTimeout,omitempty" json:"readTimeout,omitempty" doc:"timeout (in seconds) for read operation performed by the Writer"`
26
+
BatchBytesint64`yaml:"batchBytes,omitempty" json:"batchBytes,omitempty" doc:"limit the maximum size of a request in bytes before being sent to a partition"`
27
+
BatchSizeint`yaml:"batchSize,omitempty" json:"batchSize,omitempty" doc:"limit on how many messages will be buffered before being sent to a partition"`
Copy file name to clipboardExpand all lines: pkg/api/ingest_collector.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@
18
18
package api
19
19
20
20
typeIngestCollectorstruct {
21
-
HostNamestring`yaml:"hostName" json:"hostName" doc:"the hostname to listen on"`
22
-
Portint`yaml:"port" json:"port" doc:"the port number to listen on, for IPFIX/NetFlow v9. Omit or set to 0 to disable IPFIX/NetFlow v9 ingestion"`
23
-
PortLegacyint`yaml:"portLegacy" json:"portLegacy" doc:"the port number to listen on, for legacy NetFlow v5. Omit or set to 0 to disable NetFlow v5 ingestion"`
24
-
BatchMaxLenint`yaml:"batchMaxLen" json:"batchMaxLen" doc:"the number of accumulated flows before being forwarded for processing"`
21
+
HostNamestring`yaml:"hostName,omitempty" json:"hostName,omitempty" doc:"the hostname to listen on"`
22
+
Portint`yaml:"port,omitempty" json:"port,omitempty" doc:"the port number to listen on, for IPFIX/NetFlow v9. Omit or set to 0 to disable IPFIX/NetFlow v9 ingestion"`
23
+
PortLegacyint`yaml:"portLegacy,omitempty" json:"portLegacy,omitempty" doc:"the port number to listen on, for legacy NetFlow v5. Omit or set to 0 to disable NetFlow v5 ingestion"`
24
+
BatchMaxLenint`yaml:"batchMaxLen,omitempty" json:"batchMaxLen,omitempty" doc:"the number of accumulated flows before being forwarded for processing"`
Portint`yaml:"port" json:"port" doc:"the port number to listen on"`
5
-
BufferLenint`yaml:"bufferLength" json:"bufferLength" doc:"the length of the ingest channel buffer, in groups of flows, containing each group hundreds of flows (default: 100)"`
4
+
Portint`yaml:"port,omitempty" json:"port,omitempty" doc:"the port number to listen on"`
5
+
BufferLenint`yaml:"bufferLength,omitempty" json:"bufferLength,omitempty" doc:"the length of the ingest channel buffer, in groups of flows, containing each group hundreds of flows (default: 100)"`
Copy file name to clipboardExpand all lines: pkg/api/ingest_kafka.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@
18
18
package api
19
19
20
20
typeIngestKafkastruct {
21
-
Brokers []string`yaml:"brokers" json:"brokers" doc:"list of kafka broker addresses"`
22
-
Topicstring`yaml:"topic" json:"topic" doc:"kafka topic to listen on"`
23
-
GroupIdstring`yaml:"groupid" json:"groupid" doc:"separate groupid for each consumer on specified topic"`
24
-
GroupBalancers []string`yaml:"groupBalancers" json:"groupBalancers" doc:"list of balancing strategies (range, roundRobin, rackAffinity)"`
25
-
StartOffsetstring`yaml:"startOffset" json:"startOffset" doc:"FirstOffset (least recent - default) or LastOffset (most recent) offset available for a partition"`
26
-
BatchReadTimeoutint64`yaml:"batchReadTimeout" json:"batchReadTimeout" doc:"how often (in milliseconds) to process input"`
21
+
Brokers []string`yaml:"brokers,omitempty" json:"brokers,omitempty" doc:"list of kafka broker addresses"`
22
+
Topicstring`yaml:"topic,omitempty" json:"topic,omitempty" doc:"kafka topic to listen on"`
23
+
GroupIdstring`yaml:"groupid,omitempty" json:"groupid,omitempty" doc:"separate groupid for each consumer on specified topic"`
24
+
GroupBalancers []string`yaml:"groupBalancers,omitempty" json:"groupBalancers,omitempty" doc:"list of balancing strategies (range, roundRobin, rackAffinity)"`
25
+
StartOffsetstring`yaml:"startOffset,omitempty" json:"startOffset,omitempty" doc:"FirstOffset (least recent - default) or LastOffset (most recent) offset available for a partition"`
26
+
BatchReadTimeoutint64`yaml:"batchReadTimeout,omitempty" json:"batchReadTimeout,omitempty" doc:"how often (in milliseconds) to process input"`
Copy file name to clipboardExpand all lines: pkg/api/transform_generic.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@
18
18
package api
19
19
20
20
typeTransformGenericstruct {
21
-
Policystring`yaml:"policy" json:"policy" enum:"TransformGenericOperationEnum" doc:"key replacement policy; may be one of the following:"`
22
-
Rules []GenericTransformRule`yaml:"rules" json:"rules" doc:"list of transform rules, each includes:"`
21
+
Policystring`yaml:"policy,omitempty" json:"policy,omitempty" enum:"TransformGenericOperationEnum" doc:"key replacement policy; may be one of the following:"`
22
+
Rules []GenericTransformRule`yaml:"rules,omitempty" json:"rules,omitempty" doc:"list of transform rules, each includes:"`
0 commit comments