#!/usr/bin/env bash # Processes the pdf specified in the input path # processes the document, and writes to results to a Confluent topic. SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) cd "$SCRIPT_DIR"/../../.. || exit 1 PYTHONPATH=. ./unstructured/ingest/main.py \ local \ --input-path="" \ kafka \ --bootstrap-server="" \ --port "" \ --topic "" \ --kafka-api-key="" \ --secret="" \ --num-processes=""