Closed jselamy closed 5 years ago
hi, try this:
--run-projections=all
$streams
via webui, http api or esjc:
ProjectionManager projectionManager = ProjectionManagerBuilder.newBuilder()
.address("127.0.0.1", 2113)
.userCredentials("admin", "changeit")
.operationTimeout(Duration.ofSeconds(20))
.build();
projectionManager.enable(SystemProjections.STREAMS).join();
3. read `$streams` stream (there are links to the first event of stream):
```java
eventstore.iterateStreamEventsForward(SystemProjections.STREAMS, 0, 500, false)
.forEachRemaining(e -> {
String data = new String(e.originalEvent().data);
String stream = data.substring(data.indexOf('@') + 1);
System.out.println(stream);
});
Thanks!
Hey,
Quick question, is there a way to list all available streams ?