Antony Stubbs
Antony Stubbs
Can you provide the logs around the commit process where it times out? > We wanted to use syncronous commit mode, to avoid overloading of memory. Is this mode not...
> We used Synchronous Commit mode, assuming that Asynchronous mode has to keep info for pending offsets in memory. So it might use more memory. Ah ok, no there's no...
Normally I'd say sure - but I still have no idea why it's been deprecated! :)
> and it unlocks some fun like `assertThat(futureOfOptionalOfMyProto).result().value().longitude().isWithin(...).of(...)` that Java can't support. FYI that's one of the awesome things that [truth-generator](https://github.com/astubbs/truth-generator) unlocks for Java 🤗 E.g.: https://github.com/confluentinc/parallel-consumer/pull/219/commits/0f993ddacd29f13b1e80bdd51c1ba728910f48bd ``` assertWithMessage("The only...
Looks great!
> I'd be down with a generator if it generated `assertThatEmployee` in the above - one thing I don't (overly) like is multiple static imports of `assertThat` which has bitten...
Ok @talios here ya go buddy :) https://github.com/google/truth/pull/894 Super keen to get your input / support on it. If it's totally not feasible to get this merged any time soon...
As per the [PR](https://github.com/google/truth/pull/894#issuecomment-959323238), this is now available here: https://github.com/astubbs/truth-generator as a pre-release SNAPSHOT that can be installed locally. Will work on getting it into repo1 soon.
The plugin is now available in a couple of Maven repositories (but not repo1 yet), and the README has been updated with feature list and examples. See the [README]( https://github.com/astubbs/truth-generator/blob/master/README.adoc)...
FYI 0.1 of the library / plugin is now publicly available.