This directory provides the common utils for accessing distributedlog streams.
Utils is a tool for copying data from local filesytem to dlog or copy dlog stream to local filesytem. This tool is useful for verifying dlog based downloader and uploader.
bazel build heron/io/dlog/src/java:dlog-util
You can run a bookkeeper sandbox with 3 bookies locally following the instructions here.
Upload a file to dlog.
java -jar ./bazel-bin/heron/io/dlog/src/java/dlog-util.jar distributedlog://127.0.0.1/path/to/stream /path/to/file
java -jar ./bazel-bin/heron/io/dlog/src/java/dlog-util.jar distributedlog://127.0.0.1/path/to/stream /path/to/file