Hello, I'm developing a tap (Rest API) what I would like to use with
pipelinewise-target-redshift loader. The problem is that when my tap emits STATE message the loader is still waiting in the loop to get the expected (batch_size_rows) amount of lines from the tap. However I cannot see how to close/flush/etc explicitly the stream what would allow the loader to load the arrived records after the STATE message. For my tap I used cookiecutter and followed the recent tutorial. However in an another project I use
tap-jira with the same pipelinewise-target-redshift loader and there is no such problem. But as I see that tap-jira is a different (old?) implementation where the developer maintains and sends the STATE message. Can you please advise? Thanks