SAP Knowledge Base Article - Preview

2738133 - kafka adapter error - SAP HANA Streaming Analytics, SAP HANA Smart Data Streaming


The below error is reported which states that the producer of the data, e.g. KAFKA JSON output Adapter, is old:

java -cp .
log4j:ERROR setFile(null,true) call failed. log/my_kafka.log (No such file or directory)
    at Method)
    at org.apache.log4j.FileAppender.setFile(
    at org.apache.log4j.RollingFileAppender.setFile(
    at org.apache.log4j.FileAppender.activateOptions(
    at org.apache.log4j.config.PropertySetter.activate(
    at org.apache.log4j.config.PropertySetter.setProperties(
    at org.apache.log4j.config.PropertySetter.setProperties(
    at org.apache.log4j.PropertyConfigurator.parseAppender(
    at org.apache.log4j.PropertyConfigurator.parseCategory(
    at org.apache.log4j.PropertyConfigurator.configureRootCategory(
    at org.apache.log4j.PropertyConfigurator.doConfigure(
    at org.apache.log4j.PropertyConfigurator.doConfigure(
    at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(
    at org.apache.log4j.LogManager.<clinit>(
    at org.apache.log4j.Logger.getLogger(
    at ...
2018-12-20 16:24:59 INFO  ...:135 - Building stream...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.
2018-12-20 16:25:05 ERROR ...:186 - Exception caught in kafka steam while processing data: org.apache.kafka.streams.errors.StreamsException: Input record ConsumerRecord(topic = ..., partition = 1, offset = 626361563, CreateTime = -1, serialized key size = -1, serialized value size = 1779, headers = RecordHeaders(...) has invalid (negative) timestamp. Possibly because a pre-0.10 producer client was used to write this record to Kafka without embedding a timestamp, or because the input topic was created before upgrading the Kafka cluster to 0.10+. Use a different TimestampExtractor to process this data.



  • SAP HANA Smart Data Streaming 1.0
  • SAP HANA Streaming Analytics 2.0


SAP HANA 1.0 smart data streaming ; SAP HANA streaming analytics 2.0


negative timestamp, SDS, kafka library libraries, adaptor, stream, processing, processor,,, jar , KBA , HAN-SDS , SAP HANA Smart Data Streaming , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.