Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
4
plugins/parsers/avro/testcases/config-both/expected.err
Normal file
4
plugins/parsers/avro/testcases/config-both/expected.err
Normal file
|
@ -0,0 +1,4 @@
|
|||
could not instantiate parser: exactly one of 'schema_registry' or 'schema' must be specified
|
||||
|
||||
|
||||
|
0
plugins/parsers/avro/testcases/config-both/expected.out
Normal file
0
plugins/parsers/avro/testcases/config-both/expected.out
Normal file
0
plugins/parsers/avro/testcases/config-both/message.avro
Normal file
0
plugins/parsers/avro/testcases/config-both/message.avro
Normal file
28
plugins/parsers/avro/testcases/config-both/telegraf.conf
Normal file
28
plugins/parsers/avro/testcases/config-both/telegraf.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
[[ inputs.file ]]
|
||||
files = ["./testcases/config-both/message.avro"]
|
||||
data_format = "avro"
|
||||
|
||||
avro_measurement = "measurement"
|
||||
avro_tags = [ "tag" ]
|
||||
avro_schema_registry = "https://localhost:8081"
|
||||
avro_schema = '''
|
||||
{
|
||||
"type":"record",
|
||||
"name":"Value",
|
||||
"namespace":"com.example",
|
||||
"fields":[
|
||||
{
|
||||
"name":"tag",
|
||||
"type":"string"
|
||||
},
|
||||
{
|
||||
"name":"field",
|
||||
"type":"long"
|
||||
},
|
||||
{
|
||||
"name":"timestamp",
|
||||
"type":"long"
|
||||
}
|
||||
]
|
||||
}
|
||||
'''
|
Loading…
Add table
Add a link
Reference in a new issue