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

查看:601
本文介绍了在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/bin/windows

我将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

C:\confluent\bin\windows\schema-registry-start.bat C:\confluent\etc\ schema-registry\schema-registry.properties

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

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