GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/684
MINOR: Change return type of `Schema.read` to be `Struct` instead of
`Object`
We always return a `Struct` from `Schema.read` and this means that
we can remove a large number of casts.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka schema-read-should-return-struct
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/684.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #684
----
commit 147f9625f1d0006ddeabffa342fa7e6c3fdbe2be
Author: Ismael Juma <[email protected]>
Date: 2015-12-16T15:28:44Z
Change return type of `Schema.read` to be `Struct` instead of `Object`
We always return a `Struct` from `Schema.read` and this means that
we can remove a large number of casts.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---