在 Windows 中启动 Confluent Schema Registry [英] Start Confluent Schema Registry in windows

查看:35
本文介绍了在 Windows 中启动 Confluent Schema Registry的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 windows 环境和我自己的一套 kafka 和 zookeeper 正在运行.为了使用自定义对象,我开始使用 Avro.但我需要启动注册表.下载 Confluent 平台并运行:

I have windows environment and my own set of kafka and zookeeper running. To use custom objects, I started to use Avro. But I needed to get the registry started. Downloaded Confluent platform and ran this:

$ ./bin/schema-registry-start ./etc/schema-registry/schema-registry.properties
/c/Confluent/confluent-3.0.0-2.11/confluent-3.0.0/bin/schema-registry-run-class: line 103: C:\Program: No such file or directory

然后我在安装页面看到这个:

Then I see this on the installation page:

Confluent 目前不支持 Windows.Windows 用户可以下载和使用 zip 和 tar 档案,但必须直接运行 jar 文件,而不是使用 bin/目录中的包装脚本."

"Confluent does not currently support Windows. Windows users can download and use the zip and tar archives, but will have to run the jar files directly rather than use the wrapper scripts in the bin/ directory."

我想知道如何在 Windows 环境中启动融合模式注册表?

I was wondering how do I go about starting confluent schema registry in Windows environment ?

看脚本的内容,很难破译.

Looked at contents of scripts and it is difficult to decipher.

谢谢

推荐答案

有人已经按照 Ewen Cheslack-Postava 的建议创建了 Windows .bat 文件

Someone has created Windows .bat files as Ewen Cheslack-Postava suggests

https://github.com/renukaradhya/confluentplatform/tree/master/垃圾箱/窗口

我将 schema-registry-run-class.batschema-registry-start.bat 保存到我的 \confluent\bin\windows 中> 目录,然后能够使用

I saved schema-registry-run-class.bat and schema-registry-start.bat into my \confluent\bin\windows directory and then was able to run Schema Registry with

<代码>C:\confluent\bin\windows\schema-registry-start.bat C:\confluent\etc\schema-registry\schema-registry.properties

这篇关于在 Windows 中启动 Confluent Schema Registry的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆