ImFlog/schema-registry-plugin

specify file name for downloaded protos

Closed this issue · 4 comments

It might be useful to specify a name for the downloaded protos as well as a path (already implemented).

This is actual use case for us, cause we use this plugin to download protos and then generate classes for java and python. And standard naming convention doesn't work (plugin uses subject for filename).

Hi @nikoncode, I think this is a good idea.
This should be fairly simple for most of the case but It will not work for regexp download as we cannot put everything in the same file.
Do you want to submit a PR ? Else I can try to work on this during the weekend.

I've finally found time to work on this.
I will hopefully merge this and release a new minor version thursday.

If it works for your use case @nikoncode tell me ;)

It's available in 1.5.0