首页 \ 问答 \ 登录Kafka connect分布式(Logs in Kafka connect Distributed)

登录Kafka connect分布式(Logs in Kafka connect Distributed)

我在分布式模式下运行Kafka连接(在3节点集群上)。
VM1中的一个连接器生成的日志是否与VM2和VM3相同?

在3个虚拟机上运行的连接器是S3-Sink-Connector,它们使用相同的group.id = s3connector在同一端口8080上运行。


I'm running Kafka connect in Distributed mode(On a 3 node cluster).
Are the logs generated by one connector in VM1 the same as VM2 and VM3?

The Connector which is running on 3 VM's is S3-Sink-Connector and they are running on the same port 8080 with the same group.id=s3connector.


原文:https://stackoverflow.com/questions/49162229
更新时间:2022-10-08 17:10

最满意答案

决定在这里回答这个问题: 允许键盘输入到嵌入FireMonkey TPopup内的FireMonkey TEdit

为了透明,我在名为Content的fmPopup表单上添加了一个子TPanel。 然后我设置透明度:= True,并将我的自定义样式应用于“内容”面板。 不完全是我想要的,因为我必须编写我自己的TPopup已经拥有的定位/隐藏过程,但我现有的“初始化样式”过程没有任何修改。 我当然欢迎更好的解决方案。


Decided just to go with this answer here: Allowing keyboard input to a FireMonkey TEdit nested inside a FireMonkey TPopup

For transparency, I added a child TPanel on the fmPopup form named Content. Afterwards I set the Transparency:=True, and applied my custom style to the Content panel. Not exactly what I wanted because I had to write my own positioning/hiding procs that a TPopup already had, but my existing "initialize style" procedure worked without any modifications. I certainly welcome any better solutions.

相关问答

更多
  • 我看起来像这样: 我的安装没有问题。 我认为一切都很好,无效的目录并不重要。 我不确定为什么$(BDSLIB)\$(Platform)\release在您的屏幕截图中被视为无效。 也许这会在您编译项目时自行解决。 但是,我仍然认为这里的一切看起来都很正常,你可以毫无问题地构建项目。 Mine looks like this: I have no problems with my installation. I think that everything is fine and the invalid dir ...
  • 请注意,XE2 Update 4很快就会到期。 发行说明可在此处获得 http://docwiki.embarcadero.com/RADStudio/XE2/en/Release_Notes_for_XE2_Update_4 这些注释涉及多个更新,尤其是FMX控件,并且特别提到了TMemo。 在花费太多时间“调试”这个之前,等待这个版本可能是值得的。 Be aware that XE2 Update 4 is due very soon. Release notes are available here ...
  • 决定在这里回答这个问题: 允许键盘输入到嵌入FireMonkey TPopup内的FireMonkey TEdit 为了透明,我在名为Content的fmPopup表单上添加了一个子TPanel。 然后我设置透明度:= True,并将我的自定义样式应用于“内容”面板。 不完全是我想要的,因为我必须编写我自己的TPopup已经拥有的定位/隐藏过程,但我现有的“初始化样式”过程没有任何修改。 我当然欢迎更好的解决方案。 Decided just to go with this answer here: Allo ...
  • 这种“错误”实际上与FM2中的更改有关(您提到的是XE3 / FM2,但问题标记为XE2 / FMX),但有时也会出现在FMX应用程序中。 解决方案是简单地调用标签上的repaint()函数。 为了简单起见,我将假设ShowMessage ,但是只要处理UI中的任何内容(消息框,面板,矢量形状等),这同样适用。 ShowMessage('My Message'); Label1.Repaint; 使用repaint()应该是适当时使用的东西。 这是一个繁重的操作(一般来说),你应该自由地使用它。 一般准则 ...
  • 通过FMX.Forms进行更多跟踪后,我发现了这个错误。 在TCommonCustomForm.Create方法的最后,使用设置提示对象 if not (csDesigning in ComponentState) then FSharedHint := THint.CreateNewInstance(Handle); 但是当BorderIcons被更改时,以及在其他情况下,它会调用TCommonCustomForm.Recreate方法,该方法也会重新创建窗口句柄,因此提示不再链接到它。 要修复它, ...
  • 您也可以在您的TEdit中粘贴TLabel并将其与内容或客户端对齐。 将它的HitTest属性设置为false。 在onChange事件中,根据Text属性是否为空来显示或隐藏它。 TextPrompt在以前的版本中也有问题,所以我使用了这种解决方法。 You can also just stick a TLabel inside of your TEdit and align it to Content or Client. Set it's HitTest property to false. In t ...
  • 在TCustomGrid实际上有一个TCustomGrid方法,StringGrid下降,但它是私有的。 从它的来源来看,它使用了ColumnByPoint和RowByPoint方法,幸运的是它们是公开的。 'column'返回TColumn ,如果没有列,则返回nil。 'row'返回一个正整数,或者当没有行时返回-1。 此外,第一行不关心行数,它只考虑行高并基于此返回行号,即使没有行。 此外,我应该注意,网格标题上的行为是错误的。 无论如何,示例示例可能如下: procedure TForm1.Stri ...
  • InputBox不提供您使用的键盘选择,无论是FMX.Dialogs.InputBox还是VCL.Dialogs.InputBox版本。 这是一个使用标准键盘布局的标准化功能。 如果您想要不同的行为,请使用其他方法来获取输入。 设计自己的表单,提供专门的行为并显示它以获取用户的输入。 InputBox doesn't offer a choice of which keyboard you use, whether it's the FMX.Dialogs.InputBox or VCL.Dialogs.I ...
  • 键盘输入似乎不适用于TPopup。 一个简单的解决方案是使用TForm作为弹出窗体: unit Popup; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Edit; type TfmPo ...
  • 是的,这是可能的,但你不会有表格或视觉设计师(就像你只使用API编写Windows应用程序一样)。 菜单项File->New->Other ,选择Console Application 。 右键单击Project Manager中的Target Platforms ,选择OSX 32 ,选中Make target active ,然后OK 。 您可以从项目源中删除{$APPTYPE CONSOLE} (如果您愿意)。 像任何API应用程序一样添加单位,但$(BDS)\Source\rtl\osx文件夹除外。 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)