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

    https://github.com/apache/flink/pull/393#discussion_r24749284
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java ---
    @@ -292,7 +360,76 @@ public void registerKryoType(Class<?> type) {
        /**
         * Returns the registered POJO types.
         */
    -   public Set<Class<?>> getRegisteredPojoTypes() {
    +   public List<Class<?>> getRegisteredPojoTypes() {
                return registeredPojoTypes;
        }
    +
    +
    +   public boolean isDisableAutoTypeRegistration() {
    +           return disableAutoTypeRegistration;
    +   }
    +
    +   /**
    +    * Control whether Flink is automatically registering all types in the 
user programs with
    +    * Kryo.
    +    *
    +    * @param disableAutoTypeRegistration
    +    */
    +   public void setDisableAutoTypeRegistration(boolean 
disableAutoTypeRegistration) {
    --- End diff --
    
    I would prefer "disableAutoTypeRegistration" here. And then 
"isAutoTypeRegistrationDisabled", above.


---
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