I updated the KIP and PR with this change
On Fri, Jun 24, 2016 at 4:58 PM Ismael Juma wrote:
> Yes, I agree that it would be better to be consistent. I suggest `Long` and
> `null` everywhere if feasible as it's less opaque than the magic -1L value.
> The KIP page should be updated with what you
Yes, I agree that it would be better to be consistent. I suggest `Long` and
`null` everywhere if feasible as it's less opaque than the magic -1L value.
The KIP page should be updated with what you decide.
Ismael
On Sat, Jun 25, 2016 at 1:29 AM, Shikhar Bhushan
wrote:
> Hi Ismael,
>
> Good point
Hi Ismael,
Good point. This is down to an implementation detail, the getter was added
to the base class for `SourceRecord` and `SinkRecord`,
`ConnectRecord`. `SourceRecord`
is treating missing timestamps as null while `SinkRecord` is treating it as
the default value `Record.NO_TIMESTAMP` (-1L).
I
Hi Shikhar,
Thanks for the KIP. One question:
SinkRecord takes a `long` timestamp, but then exposes it via a method that
returns `Long`. Is this correct? And if so, can you please explain the
reasoning?
Ismael
On Thu, Jun 23, 2016 at 8:06 PM, Shikhar Bhushan
wrote:
> Kafkarati,
>
> Here is a
Kafkarati,
Here is a pretty straightforward proposal, for exposing timestamps that
were added in Kafka 0.10 to the connect framework so connectors can make
use of them:
https://cwiki.apache.org/confluence/display/KAFKA/KIP-65%3A+Expose+timestamps+to+Connect
Appreciate your thoughts!
Shikhar