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

STATE_DIR_CONFIG path cannot be found in windows due to usage of setPosixFilePermissions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.6.1
    • None
    • streams
    • None
    • Windows 10, Intellij, Spring-Kafka.2.6.6

    Description

      STATE_DIR_CONFIG path cannot be found in windows due to usage of setPosixFilePermissions.

      I am trying to develop a small application by using the Spring-Kafka library. My application cannot be started on windows because in org.apache.kafka.streams.processor.internals.StateDirectory class file permission operations are performed by assuming underlying os supports PosixFileSystem.  WindowsFileSystemProvider returns null when getFileAttributeView method is called.

      It is not a big problem however, it blocks working in windows machines.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ayortanli Ahmet Yortanlı
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: