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
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,14 @@
18
18
package api
19
19
20
20
typeEncodeKafkastruct {
21
-
Addressstring`yaml:"address" json:"address" doc:"address of kafka server"`
22
-
Topicstring`yaml:"topic" json:"topic" doc:"kafka topic to write to"`
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"`
21
+
Addressstring`yaml:"address" json:"address" doc:"address of kafka server"`
22
+
Topicstring`yaml:"topic" json:"topic" doc:"kafka topic to write to"`
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_kafka.go
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,14 @@
18
18
package api
19
19
20
20
typeIngestKafkastruct {
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"`
27
-
DecoderDecoder`yaml:"decoder,omitempty" json:"decoder" doc:"decoder to use (E.g. json or protobuf)"`
28
-
BatchMaxLenint`yaml:"batchMaxLen,omitempty" json:"batchMaxLen,omitempty" doc:"the number of accumulated flows before being forwarded for processing"`
29
-
CommitIntervalint64`yaml:"commitInterval,omitempty" json:"commitInterval,omitempty" doc:"the interval (in milliseconds) at which offsets are committed to the broker. If 0, commits will be handled synchronously."`
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"`
27
+
DecoderDecoder`yaml:"decoder,omitempty" json:"decoder" doc:"decoder to use (E.g. json or protobuf)"`
28
+
BatchMaxLenint`yaml:"batchMaxLen,omitempty" json:"batchMaxLen,omitempty" doc:"the number of accumulated flows before being forwarded for processing"`
29
+
CommitIntervalint64`yaml:"commitInterval,omitempty" json:"commitInterval,omitempty" doc:"the interval (in milliseconds) at which offsets are committed to the broker. If 0, commits will be handled synchronously."`
0 commit comments