                  start (rand-int 100)
                  end (+ start (rand-int 50))
                  n-entries (inc end)
+                 max-read-chunk-size (inc (rand-int 100))
                  catalog [{:onyx/name :read-ledgers
                            :onyx/plugin :onyx.plugin.bookkeeper/read-ledgers
                            :onyx/type :input

                 entries (mapv (fn [v]
                                 {:value v :random (rand-int 10)})
                               (range n-entries))
                 ;; write start
                 _ (doseq [v (take 10 entries)]
                     (.addEntry ledger-handle (nippy/zookeeper-compress v)))

                           :bookkeeper/deserializer-fn :onyx.compression.nippy/zookeeper-decompress
                           :bookkeeper/ledger-start-id start
                           :bookkeeper/ledger-end-id end
                           :bookkeeper/read-max-chunk-size max-read-chunk-size
                           :bookkeeper/no-recovery? true
                           :bookkeeper/password-bytes (.getBytes "INSECUREDEFAULTPASSWORD")
                           :onyx/max-peers 1
