Closed NavidMitchell closed 4 years ago
bump, I am having the same issue here. Any ideas?
It turns out this was noob mistake. Missed this in the docs. I missed this since these docs are terribly outdated and I had been not using them as a reference..
Step 3: Create a DistributedLog namespace
Before using distributedlog, you need to create a distributedlog namespace to store your own list of streams. The zkServer for the local sandbox is 127.0.0.1:7000 and the bookkeeper's ledgers path is /ledgers. You could create a namespace pointing to the corresponding bookkeeper cluster.
./distributedlog-proxy-server/bin/dlog admin bind -l /ledgers -s 127.0.0.1:7000 -c distributedlog://127.0.0.1:7000/messaging/my_namespace No bookkeeper is bound to distributedlog://127.0.0.1:7000/messaging/my_namespace Created binding on distributedlog://127.0.0.1:7000/messaging/my_namespace.
If you don't want to create a separated namespace, you could use the default namespace distributedlog://127.0.0.1:7000/messaging/distributedlog.
@eolivelli should we close this?
yes, you can close this issue. :)
BUG REPORT
When trying to create a Distributed Log Namespace an error "java.io.IOException: No bkdl config bound under dl path" is thrown.
To Reproduce Run local bookkeeper
`DistributedLogConfiguration distributedLogConfiguration = new DistributedLogConfiguration() .setCreateStreamIfNotExists(true) .setExplicitTruncationByApplication(true) .setLogSegmentRollingIntervalMinutes(-1);
Expected behavior
Code completes without error.
Additional context
Stack trace.. `java.io.IOException: No bkdl config bound under dl path : /test/path