Skip to content

Commit ea9853f

Browse files
pwhelanedsiper
authored andcommitted
input: add missing options to input_global_properties.
add the following missing properties to `input_global_properties`: - storage.type - storage.pause_on_chunks_overlimit - threaded Signed-off-by: Phillip Adair Stewart Whelan <[email protected]>
1 parent 5c68495 commit ea9853f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/flb_input.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,21 @@ struct flb_config_map input_global_properties[] = {
108108
"pause until the buffer is drained. The value is in bytes. If set to 0, the buffer limit is disabled."\
109109
"Note that if the plugin has enabled filesystem buffering, this limit will not apply."
110110
},
111+
{
112+
FLB_CONFIG_MAP_STR, "storage.type", "memory",
113+
0, FLB_FALSE, 0,
114+
"Sets the storage type for this input, one of: filesystem, memory or memrb."
115+
},
116+
{
117+
FLB_CONFIG_MAP_BOOL, "storage.pause_on_chunks_overlimit", "false",
118+
0, FLB_FALSE, 0,
119+
"Enable pausing on an input when they reach their chunks limit"
120+
},
121+
{
122+
FLB_CONFIG_MAP_BOOL, "threaded", "false",
123+
0, FLB_FALSE, 0,
124+
"Enable threading on an input"
125+
},
111126

112127
{0}
113128
};

0 commit comments

Comments
 (0)