Today it is a bit complicated to setup a stream when getting started.
A new project should be created called "FlowtideDotNet.DependencyInjection"
The "AspNetCore" project will reference this project and use it for the startup. The new project is created to not require a dependency on AspNetCore.
The suggestion on how to setup Flowtide looks like the following:
How connectors are handled needs to be changed, today they are added to the ReadWriteFactory as functions that create the source or sink.
Instead each connector should create a factory class that can implement IConnectorSourceFactory, IConnectorSinkFactory, IConnectorSqlTableProvider.
When adding a source, the factory added should atleast implement IConnectorSourceFactory. If it also implements IConnectorSqlTableProviderFactory, it will be used when created the substrait plan.
Today it is a bit complicated to setup a stream when getting started.
A new project should be created called "FlowtideDotNet.DependencyInjection" The "AspNetCore" project will reference this project and use it for the startup. The new project is created to not require a dependency on AspNetCore.
The suggestion on how to setup Flowtide looks like the following:
How connectors are handled needs to be changed, today they are added to the ReadWriteFactory as functions that create the source or sink.
Instead each connector should create a factory class that can implement IConnectorSourceFactory, IConnectorSinkFactory, IConnectorSqlTableProvider.
When adding a source, the factory added should atleast implement IConnectorSourceFactory. If it also implements IConnectorSqlTableProviderFactory, it will be used when created the substrait plan.