Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4188

compilation issues with org.apache.kafka.clients.consumer.internals.Fetcher.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.10.0.1
    • None
    • clients
    • None
    • Maven home: /maven325
      Java version: 1.8.0_40, vendor: Oracle Corporation

    Description

      from client module

      org.apache.kafka.clients.consumer.internals.Fetcher.java wont compile here is one of the errors:

      private PartitionRecords<K, V> parseFetchedData(CompletedFetch completedFetch) {

      //later on highWatermark is referenced in partition and produces ERROR
      this.sensors.recordsFetchLag.record(partition.highWatermark - record.offset());

      /kafka/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java:[590,66] cannot find symbol
      [ERROR] symbol: variable highWatermark

      //assuming partition is TopicPartition partition I can correct by inserting :
      public long highWatermark =0L; //into TopicPartition

      is Fetcher.java producing correct behaviour?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgainty@hotmail.com Martin Gainty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified