streamdal/plumber

Build from source error `github.com/batchcorp/schema`

Gsantomaggio opened this issue · 7 comments

I am trying to build the project from source:

$ go mod vendor

go: github.com/batchcorp/schemas@v0.2.157: reading github.com/batchcorp/schemas/go.mod at revision v0.2.157: unknown revision v0.2.157

Actually, in the mod file the schemas lib is required but the repository is missing.

Am I missing something?

Thank you

That repo is private unfortunately. I'll see if there is a workaround for this

Hi @Gsantomaggio - like @blinktag said, that repo is private, which is the reason the schemas are already vendored. Can you provide some insight as to what you're trying to do? Are you trying to add another external lib to the project?

Basically, it looks like we need to make the compiled schemas available publicly but that'll take a little elbow grease to get going. I'd like to see if maybe there's something else, in the meantime, we can do to unblock you.

HI @dselans ,
Nothing special, I'd like to update the rabbitmq-go-stream client to the last version and propose a change for read behaviour.

with -f parameter works very well, without -f it just reads the first record then stop reading.
maybe read X records and then stop or something like that. What do you think?
Thank you

@Gsantomaggio got it - sounds good. We'll go ahead and split up our schemas so that the service defs are public (and keep our internal stuff private). We should have that stuff done really soon - will update here once it's good to go. Sorry about the hassle!

Re: single reads - maybe a -c to indicate count of how many messages you should read? plumber could output something like Read '1' message (change with -c).

We should have that stuff done really soon - will update here once it's good to go. Sorry about the hassle!

Thank you, and no rush :)!

@Gsantomaggio pull the latest changes and you'll be good to go

it works! ty!