druid/extensions-contrib
Kashif Faraz 58a3acc2c4
Add InputStats to track bytes processed by a task (#13520)
This commit adds a new class `InputStats` to track the total bytes processed by a task.
The field `processedBytes` is published in task reports along with other row stats.

Major changes:
- Add class `InputStats` to track processed bytes
- Add method `InputSourceReader.read(InputStats)` to read input rows while counting bytes.
> Since we need to count the bytes, we could not just have a wrapper around `InputSourceReader` or `InputEntityReader` (the way `CountableInputSourceReader` does) because the `InputSourceReader` only deals with `InputRow`s and the byte information is already lost.
- Classic batch: Use the new `InputSourceReader.read(inputStats)` in `AbstractBatchIndexTask`
- Streaming: Increment `processedBytes` in `StreamChunkParser`. This does not use the new `InputSourceReader.read(inputStats)` method.
- Extend `InputStats` with `RowIngestionMeters` so that bytes can be exposed in task reports

Other changes:
- Update tests to verify the value of `processedBytes`
- Rename `MutableRowIngestionMeters` to `SimpleRowIngestionMeters` and remove duplicate class
- Replace `CacheTestSegmentCacheManager` with `NoopSegmentCacheManager`
- Refactor `KafkaIndexTaskTest` and `KinesisIndexTaskTest`
2022-12-13 18:54:42 +05:30
..
aliyun-oss-extensions Add InputStats to track bytes processed by a task (#13520) 2022-12-13 18:54:42 +05:30
ambari-metrics-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
cassandra-storage Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
cloudfiles-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
compressed-bigdecimal SQL test framework extensions (#13426) 2022-12-02 09:11:59 -08:00
distinctcount Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
dropwizard-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
gce-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
graphite-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
influx-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
influxdb-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
kafka-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
kubernetes-overlord-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
materialized-view-maintenance Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
materialized-view-selection Analysis refactor (#13501) 2022-12-12 17:35:44 -08:00
momentsketch Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
moving-average-query Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
opentelemetry-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
opentsdb-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
prometheus-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
redis-cache Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
sqlserver-metadata-storage Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
statsd-emitter Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
tdigestsketch SQL test framework extensions (#13426) 2022-12-02 09:11:59 -08:00
thrift-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
time-min-max Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
virtual-columns Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
README.md fix broken links (#9537) 2020-03-22 17:41:18 -07:00

README.md

Community Extensions

Please contribute all community extensions in this directory and include a doc of how your extension can be used under docs/development/extensions-contrib/.

Please note that community extensions are maintained by their original contributors and are not packaged with the core Druid distribution. If you'd like to take on maintenance for a community extension, please post on dev@druid.apache.org to let us know!