You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/10 08:22:00 UTC
[jira] [Commented] (KAFKA-8349) Add Windows batch files
corresponding to kafka-delete-records.sh and kafka-log-dirs.sh
[ https://issues.apache.org/jira/browse/KAFKA-8349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837011#comment-16837011 ]
ASF GitHub Bot commented on KAFKA-8349:
---------------------------------------
sekikn commented on pull request #6709: KAFKA-8349. Add Windows batch files corresponding to kafka-delete-records.sh and kafka-log-dirs.sh
URL: https://github.com/apache/kafka/pull/6709
Some shell scripts don't have corresponding batch files in bin\windows.
For improving Windows platform support, This PR adds the following batch files:
- bin\windows\kafka-delete-records.bat
- bin\windows\kafka-log-dirs.bat
I confirmed that they worked on Windows 10 Pro as follows:
```
PS C:\kafka-2.2.0> .\bin\windows\kafka-log-dirs.bat --bootstrap-server localhost:9092 --describe
(snip)
Querying brokers for log directories information
Received log directory information from brokers 0
{"version":1,"brokers":[{"broker":0,"logDirs":[{"logDir":"C:\\tmp\\kafka-logs","error":null,"partitions":[{"partition":"sandbox-0","size":213,"offsetLag":0,"isFuture":false}]}]}]}
```
```
PS C:\kafka-2.2.0> .\bin\windows\kafka-delete-records.bat --bootstrap-server localhost:9092 --offset-json-file offset-json-file.txt
(snip)
Executing records delete operation
Records delete operation completed:
partition: sandbox-0 low_watermark: 2
```
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> Add Windows batch files corresponding to kafka-delete-records.sh and kafka-log-dirs.sh
> --------------------------------------------------------------------------------------
>
> Key: KAFKA-8349
> URL: https://issues.apache.org/jira/browse/KAFKA-8349
> Project: Kafka
> Issue Type: Improvement
> Components: tools
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Minor
>
> Some shell scripts don't have corresponding batch files in bin\windows.
> For improving Windows platform support, I'd like to add the following batch files:
> - bin\windows\kafka-delete-records.bat
> - bin\windows\kafka-log-dirs.bat
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)