This project is an example how to add custom pre-ingestion parsers for Apache Druid. It shows how simple scripts can be easily added in ingestion specs based on the example of simple Python 2.0 scripts that get compiled. We hope the use of Python in Apache Druid ingestions will help to connect the Data Science community with the Big Data Community
Deploy the iunera/druid:30.0.0 image in your druid setting
Add "iu-code-ingestion-druid-extension" into the druid.extensions.loadList in the Druid Configuration
e.g.
druid.extensions.loadList=["iu-code-ingestion-druid-extension", "druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage", "druid-multi-stage-query"]
java \
-cp "lib/*" \
-Ddruid.extensions.directory="extensions" \
-Ddruid.extensions.hadoopDependenciesDir="hadoop-dependencies" \
org.apache.druid.cli.Main tools pull-deps \
--no-default-hadoop \
-c "com.iunera:iu-code-ingestion-druid-extension:30.0.0"
export DRUID_VERSION=$(mvn -q \
-Dexec.executable=echo \
-Dexec.args='${druid.version}' \
--non-recursive \
exec:exec)
docker build --no-cache --build-arg="DRUID_VERSION=$DRUID_VERSION" -t iunera/druid:$DRUID_VERSION .
We choose fair code, fair work, fair payment, open collaboration
Licensed under the OPEN COMPENSATION TOKEN LICENSE (the "License").
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
<https://github.com/open-compensation-token-license/license/blob/main/LICENSE.md>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied.
See the License for the specific language governing permissions and
limitations under the License.
@octl.sid: 1b6f7a5d-8dcf-44f1-b03a-77af04433496
- Why did we choose the OCTL as alternative to the Apache License 2.0?
- Why we do NOT apply Apache 2.0 License?
Maximize your return on data with professional Druid implementation and optimization services. From architecture design to performance tuning and AI integration, our experts help you navigate Druid's complexity and unlock its full potential.
For more information about our services and solutions, visit www.iunera.com.
Need help? Let
- Website: https://www.iunera.com
- Professional Services: Contact us through email for Apache Druid enterprise consulting, support and custom development
- Open Source: This project is open source and community contributions are welcome