Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-7030: Make format plugins fully pluggable
- Bootstrap files for format plugins were introduced and added to the existing plugins in contrib. - Formats from these files are being added dynamically to the corresponding storage plugins. closes #1780
- Loading branch information
Showing
6 changed files
with
148 additions
and
16 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
contrib/format-ltsv/src/main/resources/bootstrap-format-plugins.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"storage":{ | ||
"dfs": { | ||
"type": "file", | ||
"formats": { | ||
"ltsv": { | ||
"type": "ltsv", | ||
"extensions": [ | ||
"ltsv" | ||
] | ||
} | ||
} | ||
}, | ||
"s3": { | ||
"type": "file", | ||
"formats": { | ||
"ltsv": { | ||
"type": "ltsv", | ||
"extensions": [ | ||
"ltsv" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
contrib/format-maprdb/src/main/resources/bootstrap-format-plugins.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"storage":{ | ||
"dfs": { | ||
"type": "file", | ||
"formats": { | ||
"maprdb": { | ||
"type": "maprdb" | ||
} | ||
} | ||
}, | ||
"s3": { | ||
"type": "file", | ||
"formats": { | ||
"maprdb": { | ||
"type": "maprdb" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
contrib/format-syslog/src/main/resources/bootstrap-format-plugins.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"storage":{ | ||
"dfs": { | ||
"type": "file", | ||
"formats": { | ||
"syslog": { | ||
"type": "syslog", | ||
"extensions": [ | ||
"syslog" | ||
] | ||
} | ||
} | ||
}, | ||
"s3": { | ||
"type": "file", | ||
"formats": { | ||
"syslog": { | ||
"type": "syslog", | ||
"extensions": [ | ||
"syslog" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters