[
https://issues.apache.org/jira/browse/FLINK-9544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639026#comment-16639026
]
Diego Carvallo commented on FLINK-9544:
---------------------------------------
I am using the Scala sdk version 1.6.0 and this is NOT working:
{code:scala}
System.setProperty(SDKGlobalConfiguration.AWS_CBOR_DISABLE_SYSTEM_PROPERTY,
"true")
{code}
But setting the env variable {{AWS_CBOR_DISABLE=true}} is working.
> Downgrade kinesis protocol from CBOR to JSON not possible as required by
> kinesalite
> -----------------------------------------------------------------------------------
>
> Key: FLINK-9544
> URL: https://issues.apache.org/jira/browse/FLINK-9544
> Project: Flink
> Issue Type: Bug
> Components: Kinesis Connector
> Affects Versions: 1.4.0, 1.5.0, 1.4.1, 1.4.2
> Reporter: Ph.Duveau
> Priority: Critical
>
> The amazon client do not downgrade from CBOR to JSON while setting env
> AWS_CBOR_DISABLE to true (or 1) and/or defining
> com.amazonaws.sdk.disableCbor=true via JVM options. This bug is due to maven
> shade relocation of com.amazon.* classes. As soon as you cancel this
> relocation (by removing the relocation in the kinesis connector or by
> re-relocating in the final jar), it reruns again.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)