eventstore_client 0.0.1 copy "eventstore_client: ^0.0.1" to clipboard
eventstore_client: ^0.0.1 copied to clipboard

outdated

A client library for EventStoreDB 20.x and above

A client library for EventStoreDB 20.x and above

Getting started #

A simple usage example of reading from a self-hosted single-node:

import 'package:eventstore_client/eventstore_client.dart';

void main() async {
  // Create a client instance
  final client = EventStoreClient(
    EventStoreClientSettings.parse(
      'esdb://127.0.0.1:2113',
    ),
  );

  // Fetch all events in EventStore
  final result = await client.readFromAll(
    forward: true,
    resolveLinks: true,
    position: LogPosition.start,
  );

  // Only print if read was successful
  if (result.isOK) {
    await for (var event in result.stream) {
      print(event);
    }
  }
}

Features and bugs #

This package supports the following EventStoreDB client APIs

  • ✅ Streams gRPC API
  • ❌ Projections Management gRPC API
  • ❌ Persistent Subscriptions Management gRPC API
  • ✅ Gossip gRPC API (open source version of EventstoreDB)
  • ❌ Cluster Management gRPC API (commercial version of EventstoreDB)
  • ❌ Operations gRPC API
  • ❌ Monitoring gRPC API
  • ❌ User Management gRPC API

Please file feature requests and bugs at the issue tracker.

5
likes
0
points
62
downloads

Publisher

verified publisherdiscoos.org

Weekly Downloads

A client library for EventStoreDB 20.x and above

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, collection, fixnum, grpc, logging, meta, path, protobuf, tuple, universal_io, uuid

More

Packages that depend on eventstore_client