Re: a little problem in quickstart

2022-06-26 Thread Men Lim
You don't need to put in the jar file name in the plug in.path variable. Something like plugin.path=/kafka/plugin. Then have the jar file in that plugin folder. Restart the worker and it will pick it up. On Sun, Jun 26, 2022 at 8:04 AM mason lee wrote: > Hi I’m new to Kafka and i can not pass

Re: securing sasl/scram username and password in kafka connect

2022-03-08 Thread Men Lim

Re: securing sasl/scram username and password in kafka connect

2022-03-08 Thread Men Lim
ly set up on the Connect > worker. What does your Connect worker config look like (usually a file > called something like connect-distributed.properties)? Feel free to change > any sensitive values to a string like "", but please don't remove > them entirely (they may be necessary

Re: securing sasl/scram username and password in kafka connect

2022-03-07 Thread Men Lim
ot;, "transforms.Reroute.key.enforce.uniqueness": "false", "transforms.Reroute.topic.regex": "(.*)", "transforms.Reroute.topic.replacement": "list-cdc-generals-02", "transforms.Reroute.type": "io.d

Re: securing sasl/scram username and password in kafka connect

2022-03-07 Thread Men Lim
ot;} password=\"${file:/path/file.pro > :password}\";" > > and still ran into issues, we'd probably need to see log files or, at the > very least, the stack trace for the task from the REST API (if it failed at > all) in order to follow up and provide more help. > > Cheer

Re: securing sasl/scram username and password in kafka connect

2022-03-07 Thread Men Lim
sorts of errors are you seeing when trying to use a config provider > with sasl/scram credentials? > > [1] - https://issues.apache.org/jira/browse/KAFKA-9845 > > Cheers, > > Chris > > On Mon, Mar 7, 2022 at 10:35 AM Men Lim wrote: > > > Hi all, > > > &g

securing sasl/scram username and password in kafka connect

2022-03-07 Thread Men Lim
Hi all, recently, I found out about config.providers=file config.providers.file.class=org.apache.kafka.common.config.provider.FileConfigProvider This works great to remove our embedded database password into an external file. However, it does not work when I tried to do the same thing with

Re: [ANNOUNCE] Apache Kafka 3.1.0

2022-02-02 Thread Men Lim
recommended for production scenarios > > I hope this clarifies your concerns > > > > On Wed, Jan 26, 2022 at 9:50 AM Men Lim wrote: > > > i'm curious at what point can 3.x be production ready? > > > > On Mon, Jan 24, 2022 at 10:04 AM David Jacot wrote: > >

Re: Log4j 1.2

2022-01-26 Thread Men Lim
Thanks Ed. On Mon, Jan 24, 2022 at 2:21 PM Edward Capriolo wrote: > In general you can delete log4j1.jar > Replace with log4jcore_2.17.1.jar > And log4japi_2.17.1.jar > > Ed > > On Monday, January 24, 2022, Men Lim wrote: > > > Is there a write out of t

Re: [ANNOUNCE] Apache Kafka 3.1.0

2022-01-26 Thread Men Lim
i'm curious at what point can 3.x be production ready? On Mon, Jan 24, 2022 at 10:04 AM David Jacot wrote: > The Apache Kafka community is pleased to announce the release for > Apache Kafka 3.1.0. > > It is a major release that includes many new features, including: > > * Apache Kafka supports

Re: Log4j 1.2

2022-01-24 Thread Men Lim
Is there a write out of the steps that need to be taken? On Mon, Jan 24, 2022 at 10:36 AM Edward Capriolo wrote: > Explained in another thread log4j api is separate from implementation. Its > possible to remove log4j 1.2 jars from classpath and upgrade to log4j > 2.17.1 without changing a line

question: kafka connect mm2 curl command

2021-11-15 Thread Men Lim
I am running AWS MSK v2.7.0 with SASL/SCRAM. I have an ec2 instance running the kafka connector and mirror maker 2 (MM2). I was able to start up the distributor w/o any issue but when I run the curl command to start the worker, the output look fine but no data are replicating. curl -s -X POST -H

Re: Automation Script : Kafka topic creation

2021-11-06 Thread Men Lim
I'm currently using Kafka-gitops. On Sat, Nov 6, 2021 at 3:35 AM Kafka Life wrote: > Dear Kafka experts > > does anyone have ready /automated script to create /delete /alter topics in > different environments? > taking Configuration parameter as input . > > if yes i request you to kindly share

Re: Mirror Maker 2: use prefix-less topic names?

2021-10-07 Thread Men Lim
Nope. Mm2 has that prefix. I read that in 3.0, that prefix is going away. On Thu, Oct 7, 2021 at 11:31 AM Jake Mayward wrote: > Hi, > > I have read a bit on MirrorMaker 2 via > https://kafka.apache.org/documentation/#georeplication-overview, and I am > curious whether I can enable replication

Re: mm2: size of target vs source topic

2021-10-04 Thread Men Lim
bump On Wed, Sep 29, 2021 at 4:09 PM Men Lim wrote: > Hi all, > I'm setting up two new clusters today and using mm2 to replicate data from > clusterA --> clusterB. I noticed that the topic has the same amount of > record but the size is small by 5x. > > source topic is 6.

mm2: size of target vs source topic

2021-09-29 Thread Men Lim
Hi all, I'm setting up two new clusters today and using mm2 to replicate data from clusterA --> clusterB. I noticed that the topic has the same amount of record but the size is small by 5x. source topic is 6.975 MB target topic is: 1.136 MB It has the same number of record. both cluster is

Re: MM2 - Overriding MirrorSourceConnector Consumer & Producer values

2021-09-20 Thread Men Lim
did you try setting these values in the distributor.properties file? On Mon, Sep 20, 2021 at 12:43 AM Jamie wrote: > Hi All, > Has anyone been able to override the producer and consumer values of the > MM2 MirrorSourceConnector as described below? > Many Thanks, > Jamie > > > -Original

Re: Kafka Mirror Maker 2 - source topic keep getting created

2021-08-13 Thread Men Lim
Have you tried running mm2 in a distributed mode instead of standalone/dedicated? Try using this file below that I have working on a AWS EC2 instance: name=mm2 clusters = source, target source.bootstrap.servers = source:9092 target.bootstrap.servers = target:9092 group.id = mm2 ## all

Re: What's so special about 2,8,9,15,56,72 error codes?

2021-04-28 Thread Men Lim
that article linked to apache error code, which tells you their meaning. https://kafka.apache.org/protocol.html#protocol_error_codes On Wed, Apr 28, 2021 at 6:44 AM Nikita Kretov wrote: > I'm doing little research about what metrics and formulas used to > calculate SLA for kafka clusters. I

Re: mirrormaker 2.0

2021-04-26 Thread Men Lim
Hi Madhan, try this article I found a while back in case this also become my use case https://stackoverflow.com/questions/59390555/is-it-possible-to-replicate-kafka-topics-without-alias-prefix-with-mirrormaker2 On Thu, Apr 22, 2021 at 9:40 PM Dhanikachalam, Madhan (CORP) wrote: > I am

Re: MirrorMaker 2 with SSL

2021-04-19 Thread Men Lim
SSL-enabled, then the consumer of mm2 > should be configured to read from SSL-enabled cluster > if the target kafka cluster is SSL-enabled, then the producer of mm2 > should be configured to write to SSL-enabled cluster. > > On 2021/04/16 03:23:21, Men Lim wrote: > > well the 405

Re: MirrorMaker 2 with SSL

2021-04-15 Thread Men Lim
. at least got past the curl problem. On Wed, Apr 14, 2021 at 12:11 PM Men Lim wrote: > I read thru the security_ssl page when I started this, it doesn't apply > much to me because I'm running this in AWS MSK, where I can't access the > broker. so my hands are tied there whe

Re: MirrorMaker 2 with SSL

2021-04-14 Thread Men Lim
> wants to write to such cluster, you may have the following config in your > MM2: > > > https://github.com/ning2008wisc/minikube-mm2-demo/blob/master/kafka-mm/values.yaml#L79-L80 > > on the broker (even client) side, you may refer to: > > http://kafka.apache.org/090/d

Re: MirrorMaker 2 with SSL

2021-04-09 Thread Men Lim
and IIRC, probably give a try of > self-signing certs and key for testing purpose: > https://linuxize.com/post/creating-a-self-signed-ssl-certificate/ > > On 2021/04/09 03:14:30, Men Lim wrote: > > Hi Ryanne, > > > > thanks for the reply. My kafka clusters are on AWS, t

Re: MirrorMaker 2 with SSL

2021-04-08 Thread Men Lim
; find these files. > > Ryanne > > > On Wed, Mar 31, 2021, 8:22 PM Men Lim wrote: > > > Hello. I was wondering if someone can help answer my question. I'm > trying > > to run MirrorMaker 2 in distributed mode using SSL. I have the > distributor > > running i

MirrorMaker 2 with SSL

2021-03-31 Thread Men Lim
Hello. I was wondering if someone can help answer my question. I'm trying to run MirrorMaker 2 in distributed mode using SSL. I have the distributor running in SSL but when I can't get the curl REST api to do so. I saw that kif-208 fixed this but I can't seem to implement it. in my