SciCatProject / scicat-filewriter-ingest

Python client that connects to a kafka queue and creates new datasets when receiving notification that a file has been written
0 stars 0 forks source link

Split ingestion in two separate program #22

Closed nitrosx closed 2 months ago

nitrosx commented 4 months ago

Currently all the ingestion functionalities are in the same single program. We are going to create two different scripts:

YooSunYoung commented 4 months ago

@nitrosx

Can we use Scitacean instead of pyscicat here?

nitrosx commented 4 months ago

I'm not sure, as we need a lot more flexibility that is not allowed in scitacean. We might need to go directly to direct API calls.

nitrosx commented 4 months ago

I reviewed the requirements to create a dataset in SciCat and I think we should change the functionalities of the two programs as follow:

With this design we are able to separate the kafka communication from the scicat interface, simplifying testing. It will also allow the use of Scitacean.

nitrosx commented 4 months ago

I am going to create a branch for this issue

nitrosx commented 4 months ago

Branch functionalities _segregation created

nitrosx commented 2 months ago

This issue has been addressed.