Skip to content

Commit e9c9753

Browse files
committed
Resolve comment-spacings linter warnings
Signed-off-by: Marco Franssen <[email protected]>
1 parent 0dce3e3 commit e9c9753

File tree

12 files changed

+19
-19
lines changed

12 files changed

+19
-19
lines changed

apis/fluentbit/v1alpha2/plugins/input/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type HTTP struct {
2424
// +kubebuilder:validation:Pattern:="^\\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$"
2525
BufferMaxSize string `json:"bufferMaxSize,omitempty"`
2626
// This sets the chunk size for incoming incoming JSON messages.
27-
//These chunks are then stored/managed in the space available by buffer_max_size,default 512K.
27+
// These chunks are then stored/managed in the space available by buffer_max_size,default 512K.
2828
// +kubebuilder:validation:Pattern:="^\\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$"
2929
BufferChunkSize string `json:"bufferChunkSize,omitempty"`
3030
// It allows to set successful response code. 200, 201 and 204 are supported,default 201.

apis/fluentbit/v1alpha2/plugins/input/syslog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Syslog struct {
2929
// If your syslog messages have fractional seconds set this Parser value to syslog-rfc5424 instead.
3030
Parser string `json:"parser,omitempty"`
3131
// By default the buffer to store the incoming Syslog messages, do not allocate the maximum memory allowed, instead it allocate memory when is required.
32-
//The rounds of allocations are set by Buffer_Chunk_Size. If not set, Buffer_Chunk_Size is equal to 32000 bytes (32KB).
32+
// The rounds of allocations are set by Buffer_Chunk_Size. If not set, Buffer_Chunk_Size is equal to 32000 bytes (32KB).
3333
// +kubebuilder:validation:Pattern:="^\\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$"
3434
BufferChunkSize string `json:"bufferChunkSize,omitempty"`
3535
// Specify the maximum buffer size to receive a Syslog message. If not set, the default size will be the value of Buffer_Chunk_Size.

apis/fluentbit/v1alpha2/plugins/input/tcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type TCP struct {
2222
// +kubebuilder:validation:Pattern:="^\\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$"
2323
BufferSize string `json:"bufferSize,omitempty"`
2424
// By default the buffer to store the incoming JSON messages, do not allocate the maximum memory allowed, instead it allocate memory when is required.
25-
//The rounds of allocations are set by Chunk_Size in KB. If not set, Chunk_Size is equal to 32 (32KB).
25+
// The rounds of allocations are set by Chunk_Size in KB. If not set, Chunk_Size is equal to 32 (32KB).
2626
// +kubebuilder:validation:Pattern:="^\\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$"
2727
ChunkSize string `json:"chunkSize,omitempty"`
2828
// Specify the expected payload format. It support the options json and none.

apis/fluentbit/v1alpha2/plugins/output/kafka_types.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ type Kafka struct {
3636
TopicKey string `json:"topicKey,omitempty"`
3737
// {property} can be any librdkafka properties
3838
Rdkafka map[string]string `json:"rdkafka,omitempty"`
39-
//adds unknown topics (found in Topic_Key) to Topics. So in Topics only a default topic needs to be configured
39+
// Adds unknown topics (found in Topic_Key) to Topics. So in Topics only a default topic needs to be configured
4040
DynamicTopic *bool `json:"dynamicTopic,omitempty"`
41-
//Fluent Bit queues data into rdkafka library,
42-
//if for some reason the underlying library cannot flush the records the queue might fills up blocking new addition of records.
43-
//The queue_full_retries option set the number of local retries to enqueue the data.
44-
//The default value is 10 times, the interval between each retry is 1 second.
45-
//Setting the queue_full_retries value to 0 set's an unlimited number of retries.
41+
// Fluent Bit queues data into rdkafka library,
42+
// if for some reason the underlying library cannot flush the records the queue might fills up blocking new addition of records.
43+
// The queue_full_retries option set the number of local retries to enqueue the data.
44+
// The default value is 10 times, the interval between each retry is 1 second.
45+
// Setting the queue_full_retries value to 0 set's an unlimited number of retries.
4646
QueueFullRetries *int64 `json:"queueFullRetries,omitempty"`
4747
// Limit the maximum number of Chunks in the filesystem for the current output logical destination.
4848
TotalLimitSize string `json:"totalLimitSize,omitempty"`

apis/fluentbit/v1alpha2/plugins/output/splunk_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Splunk struct {
2121
Port *int32 `json:"port,omitempty"`
2222
// Specify the Authentication Token for the HTTP Event Collector interface.
2323
SplunkToken *plugins.Secret `json:"splunkToken,omitempty"`
24-
//Buffer size used to receive Splunk HTTP responses: Default `2M`
24+
// Buffer size used to receive Splunk HTTP responses: Default `2M`
2525
// +kubebuilder:validation:Pattern:="^\\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$"
2626
HTTPBufferSize string `json:"httpBufferSize,omitempty"`
2727
// Set payload compression mechanism. The only available option is gzip.

charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusteroutputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ spec:
19811981
192.168.1.4:9092.'
19821982
type: string
19831983
dynamicTopic:
1984-
description: adds unknown topics (found in Topic_Key) to Topics.
1984+
description: Adds unknown topics (found in Topic_Key) to Topics.
19851985
So in Topics only a default topic needs to be configured
19861986
type: boolean
19871987
format:

charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_outputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ spec:
19811981
192.168.1.4:9092.'
19821982
type: string
19831983
dynamicTopic:
1984-
description: adds unknown topics (found in Topic_Key) to Topics.
1984+
description: Adds unknown topics (found in Topic_Key) to Topics.
19851985
So in Topics only a default topic needs to be configured
19861986
type: boolean
19871987
format:

config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ spec:
19811981
192.168.1.4:9092.'
19821982
type: string
19831983
dynamicTopic:
1984-
description: adds unknown topics (found in Topic_Key) to Topics.
1984+
description: Adds unknown topics (found in Topic_Key) to Topics.
19851985
So in Topics only a default topic needs to be configured
19861986
type: boolean
19871987
format:

config/crd/bases/fluentbit.fluent.io_outputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ spec:
19811981
192.168.1.4:9092.'
19821982
type: string
19831983
dynamicTopic:
1984-
description: adds unknown topics (found in Topic_Key) to Topics.
1984+
description: Adds unknown topics (found in Topic_Key) to Topics.
19851985
So in Topics only a default topic needs to be configured
19861986
type: boolean
19871987
format:

docs/plugins/fluentbit/output/kafka.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Kafka output plugin allows to ingest your records into an Apache Kafka service.
1414
| topics | Single entry or list of topics separated by comma (,) that Fluent Bit will use to send messages to Kafka. If only one topic is set, that one will be used for all records. Instead if multiple topics exists, the one set in the record by Topic_Key will be used. | string |
1515
| topicKey | If multiple Topics exists, the value of Topic_Key in the record will indicate the topic to use. E.g: if Topic_Key is router and the record is {\"key1\": 123, \"router\": \"route_2\"}, Fluent Bit will use topic route_2. Note that if the value of Topic_Key is not present in Topics, then by default the first topic in the Topics list will indicate the topic to be used. | string |
1616
| rdkafka | {property} can be any librdkafka properties | map[string]string |
17-
| dynamicTopic | adds unknown topics (found in Topic_Key) to Topics. So in Topics only a default topic needs to be configured | *bool |
17+
| dynamicTopic | Adds unknown topics (found in Topic_Key) to Topics. So in Topics only a default topic needs to be configured | *bool |
1818
| queueFullRetries | Fluent Bit queues data into rdkafka library, if for some reason the underlying library cannot flush the records the queue might fills up blocking new addition of records. The queue_full_retries option set the number of local retries to enqueue the data. The default value is 10 times, the interval between each retry is 1 second. Setting the queue_full_retries value to 0 set's an unlimited number of retries. | *int64 |
1919
| totalLimitSize | Limit the maximum number of Chunks in the filesystem for the current output logical destination. | string |
2020
| workers | Enables dedicated thread(s) for this output. Default value is set since version 1.8.13. For previous versions is 0. | *int32 |

0 commit comments

Comments
 (0)