You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let me rephrase what @w1am mentioned. The client uses the gRPC protocol, which, as of now, doesn’t provide a way to disable a projection on creation. This isn’t a Java-specific client — it’s simply a gRPC-based one. Currently, the only API that supports it is the projection REST API, which the Java client does not use.
We have no plans to support a hybrid client, especially for the projections API. However, we do intend to release a dedicated tool that will cover this need, including support for the user management API. Unfortunately, I don't have an ETA for that.
In your case, using the projection REST API directly would be the better approach.
Currently there seems to be no way to create a disabled projection using the EventStoreDBProjectionManagementClient.
The documentation of the create operation states:
But when the following code is executed, the projection is already enabled (even if "enable" was not called afterwards):
This means there is currently no way to create a disabled projection using the API.
Full Maven project for testing can be found here: https://github.com/michael-schnell/eventstore-create-enabled-bug
DEV-229
The text was updated successfully, but these errors were encountered: