• Artem Bilan's avatar
    Fix compatibility with Apache Kafka 0.10.1 · 28474aa3
    Artem Bilan authored
    Update KafkaProperties since  Apache Kafka `0.10.1` changed the type
    for the `ConsumerConfig.AUTO_COMMIT_INTERVAL_MS_CONFIG` from the
    `Long` to `Integer`.
    
    Kafka includes the following conversion logic:
    
        case LONG:
            if (value instanceof Integer)
                return ((Integer) value).longValue();
            if (value instanceof Long)
                return (Long) value;
            else if (value instanceof String)
                return Long.parseLong(trimmed);
    
    So we remain compatible with both `0.10.0` and `0.10.1`
    
    Closes gh-7723
    28474aa3
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-test-support Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...