Hi folks,

I'm starting up development of a Java based connector to Kudu for Apache
Beam - i.e. a source and sink to Kudu for beam pipelines.

For testing, the Beam project favours "mini integration tests" rather than
mocking - e.g. spinning up an embedded HBase / Solr server. In addition the
beam project also has a set of separate integration tests that make us use
kubernetes.

My understanding is for Kudu the embedded Java server is a wrapper around a
running kudu cluster. I don't believe there is an embeddable Kudu for
testing right (even an API compliant / mock server)?

My current thinking is to mock Kudu in unit tests and provide an
integration test using kudu running in Docker. Can anyone propose a better
option or confirm this sounds reasonable please?

Once written would a kind Kudu dev be willing to take a look before I put
it up for a pull request in Beam perhaps? It would mean a lot to get a nod
from you folk that it looks correct.

Thanks,
Tim

Reply via email to