[jira] [Created] (FLINK-13864) StreamingFileSink: Allow inherited classes to extend StreamingFileSink correctly

2019-08-26 Thread Kailash Hassan Dayanand (Jira)
Kailash Hassan Dayanand created FLINK-13864:
---

 Summary: StreamingFileSink: Allow inherited classes to extend 
StreamingFileSink correctly
 Key: FLINK-13864
 URL: https://issues.apache.org/jira/browse/FLINK-13864
 Project: Flink
  Issue Type: Improvement
  Components: Connectors / FileSystem
Reporter: Kailash Hassan Dayanand


Currently the StreamingFileSink can't be extended correctly as there are a few 
issues [PR |[https://github.com/apache/flink/pull/8469]] merged for  this 
[Jira|https://issues.apache.org/jira/browse/FLINK-12539]

Mailing list discussion: 
[http://mail-archives.apache.org/mod_mbox/flink-dev/201908.mbox/%3CCACGLQUAxXjr2mBOf-6hbXcwmWoH5ib_0YEy-Vyjj%3DEPyQ25Qiw%40mail.gmail.com%3E]

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (FLINK-12149) Support Proto for Streaming File Sink

2019-04-09 Thread Kailash Hassan Dayanand (JIRA)
Kailash Hassan Dayanand created FLINK-12149:
---

 Summary: Support Proto for Streaming File Sink 
 Key: FLINK-12149
 URL: https://issues.apache.org/jira/browse/FLINK-12149
 Project: Flink
  Issue Type: New Feature
Reporter: Kailash Hassan Dayanand


Currently we are supporting AuroParquetWriters in flink 
here:[https://ci.apache.org/projects/flink/flink-docs-release-1.7/api/java/org/apache/flink/formats/parquet/avro/ParquetAvroWriters.html].
 Supporting an protoParquetWriter within Flink will be a good addition as well. 

Currently Parquet already have support for ProtoParquetWriters here: 
[https://github.com/apache/parquet-mr/blob/master/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java].
 We can extend the classes from here and make it available in the appropriate 
format to support ProtoParquet writing. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (FLINK-12539) StreamingFileSink: Make the class extendable to customize for different usecases

2019-05-16 Thread Kailash Hassan Dayanand (JIRA)
Kailash Hassan Dayanand created FLINK-12539:
---

 Summary: StreamingFileSink: Make the class extendable to customize 
for different usecases
 Key: FLINK-12539
 URL: https://issues.apache.org/jira/browse/FLINK-12539
 Project: Flink
  Issue Type: New Feature
  Components: Connectors / FileSystem
Reporter: Kailash Hassan Dayanand
Assignee: Kailash Hassan Dayanand


Currently the StreamingFileSink has Builder pattern and the actual constructor 
of StreamingFileSink is private. This makes it hard to extend the class to 
built on top of this and customize the sink. (Example: Adding new metrics). 
Proposing to make this protected as well as protected for the Builder interface.

 

Discussion is here: 
[http://mail-archives.apache.org/mod_mbox/flink-dev/201905.mbox/%3CCAC27z=phl8+gw-ugmjkxbriseky9zimi2crpqvlpcnyupt8...@mail.gmail.com%3E]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (FLINK-8888) Upgrade AWS SDK in flink-connector-kinesis

2018-03-06 Thread Kailash Hassan Dayanand (JIRA)
Kailash Hassan Dayanand created FLINK-:
--

 Summary: Upgrade AWS SDK in flink-connector-kinesis
 Key: FLINK-
 URL: https://issues.apache.org/jira/browse/FLINK-
 Project: Flink
  Issue Type: Improvement
Reporter: Kailash Hassan Dayanand


Bump up the java aws sdk version to 1.11.272. Evaluate also the impact of this 
version upgrade for KCL and KPL versions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (FLINK-8936) Provide only AWS region or endpoint in line with the SDK

2018-03-13 Thread Kailash Hassan Dayanand (JIRA)
Kailash Hassan Dayanand created FLINK-8936:
--

 Summary: Provide only AWS region or endpoint in line with the SDK
 Key: FLINK-8936
 URL: https://issues.apache.org/jira/browse/FLINK-8936
 Project: Flink
  Issue Type: Improvement
Reporter: Kailash Hassan Dayanand


Based on recent upgrades to the aws-java-sdk [https://goo.gl/yGLRRG] (in 
1.11.79), it is not possible to have both the regions and endpoint specified in 
the kinesis configuration. The earlier PR which introduced endpoint options 
FLINK-4197 also had comments about conflicting endpoints and regions but was 
okay because java sdk did not enforce. 

Reason for this change: Makes it easier to connect to kinesalite in a 
development environment. 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (FLINK-8944) Use ListShards for shard discovery in the flink kinesis connector

2018-03-14 Thread Kailash Hassan Dayanand (JIRA)
Kailash Hassan Dayanand created FLINK-8944:
--

 Summary: Use ListShards for shard discovery in the flink kinesis 
connector
 Key: FLINK-8944
 URL: https://issues.apache.org/jira/browse/FLINK-8944
 Project: Flink
  Issue Type: Improvement
Reporter: Kailash Hassan Dayanand


Currently the DescribeStream AWS API used to get list of shards is has a 
restricted rate limits on AWS. (5 requests per sec per account). This is 
problematic when running multiple flink jobs all on same account since each 
subtasks calls the Describe Stream. Changing this to ListShards will provide 
more flexibility on rate limits as ListShards has a 100 requests per second per 
data stream limits.

More details on the mailing list. https://goo.gl/mRXjKh



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (FLINK-8945) Allow customization of the KinesisProxy Interface

2018-03-14 Thread Kailash Hassan Dayanand (JIRA)
Kailash Hassan Dayanand created FLINK-8945:
--

 Summary: Allow customization of the KinesisProxy Interface
 Key: FLINK-8945
 URL: https://issues.apache.org/jira/browse/FLINK-8945
 Project: Flink
  Issue Type: Improvement
Reporter: Kailash Hassan Dayanand


Currently the KinesisProxy interface here:

[https://github.com/apache/flink/blob/310f3de62e52f1f977c217d918cc5aac79b87277/flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/proxy/KinesisProxy.java#L125]

has a private constructor. This restricts extending the class and prevents 
customizations on shard discovery. I am proposing to change this to protected.

While the creating a new implementation of KinesisProxyInterface is possible, I 
would like to continue to use implementation of getRecords and getShardIterator.

This will be a temporary workaround till FLINK-8944 is submitted. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)