Kafka is adding multiple paths to your commandline , thus you might end up going beyond the limits of commandline (8191 characters), try to put it as close to root folder as possible (e.g. c:\k). This seems to be a duplicate of a question The input line is too long when starting kafka