Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2214#discussion_r70058907
  
    --- Diff: docs/apis/streaming/connectors/kinesis.md ---
    @@ -146,6 +146,29 @@ Also note that Flink can only restart the topology if 
enough processing slots ar
     Therefore, if the topology fails due to loss of a TaskManager, there must 
still be enough slots available afterwards.
     Flink on YARN supports automatic restart of lost YARN containers.
     
    +#### Event Time for Consumed Records
    +
    +<div class="codetabs" markdown="1">
    +<div data-lang="java" markdown="1">
    +{% highlight java %}
    +final StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
    +env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime);
    +{% endhighlight %}
    +</div>
    +<div data-lang="scala" markdown="1">
    +{% highlight scala %}
    +val env = StreamExecutionEnvironment.getExecutionEnvironment()
    +env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime)
    +{% endhighlight %}
    +</div>
    +</div>
    +
    +If streaming topologies choose to use the [event time 
notion]({{site.baseurl}}/apis/streaming/event_time.html) for record
    +timestamps, an *approximate arrival timestamp* will be used. This 
timestamp is attached to records by Kinesis once they
    +were successfully received and stored by streams. Note that this timestamp 
is typically referred to as a Kinesis server-side
    +timestamp, and there are no guarantees about the accuracy or order 
correctness (i.e., the timestamps may not always be
    +ascending).
    --- End diff --
    
    Maybe we can also add a sentence saying that users can override the 
timestamp if they want to extract their own event-time timestamp.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to