How to use aclpublisher in an external application to get acl info for authorize

2025-06-12 Thread Nanda Naga
I am using an external application to authorize requests before sending to broker. Before kraft I initialized aclauthroizer and just called configure and then called authorize (the zk watcher inside aclauthorizer took care of loading and updating acls). In case of kraft, how to use this

Re: How to execute the application.

2025-06-11 Thread Sanskar Jhajharia
bels%20%3D%20newbie Sanskar Jhajharia Sr. Software Engineer @ Confluent Contact: Personal | Official On Wed, Jun 11, 2025 at 7:00 PM Vinothini A wrote: > Hi team, > I want to contribute to kafka. > Im a newbie may i know how to start and test the application. > > can you plea

How to execute the application.

2025-06-11 Thread Vinothini A
Hi team, I want to contribute to kafka. Im a newbie may i know how to start and test the application. can you please help here. Regards, vinothini.

Kafka Streams consumer application observing hotspotting during deployments

2023-11-01 Thread Sabit Nepal
Hello, We have a Kafka Streams consumer application running Kafka Streams 3.4, with our Kafka brokers running 2.6. This consumer application consumes from two topics with 250 partitions each, and we co-partition them to ensure each task is consuming from the same partitions in each topic. Some

Re: Producer Application Utilizing Multiple Threads

2023-04-25 Thread info
a and larger linger.ms settings. However, like you, I've found that a single KafkaProducer instance can sometimes become a bottleneck. For instance, threads can be blocked in certain cases when they are producing to the same partition. In our application, we found a producer per thread wasn't

Re: Producer Application Utilizing Multiple Threads

2023-04-25 Thread info
Santhosh Gopal On Mon, Apr 24, 2023 at 9:01 AM Arvid Sundbom wrote: Hi! I have a question about executing a Kafka producer application, utilizing multiple threads. In the documentation for Kafka producers ( https://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/producer

Re: Producer Application Utilizing Multiple Threads

2023-04-24 Thread Santhosh Kumar
wrote: > Hi! > I have a question about executing a Kafka producer application, utilizing > multiple threads. > In the documentation for Kafka producers ( > > https://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html > ) > it says t

RE: Producer Application Utilizing Multiple Threads

2023-04-24 Thread Margaret Figura
e you, I've found that a single KafkaProducer instance can sometimes become a bottleneck. For instance, threads can be blocked in certain cases when they are producing to the same partition. In our application, we found a producer per thread wasn't necessary, but adding a small pool of

Producer Application Utilizing Multiple Threads

2023-04-24 Thread Arvid Sundbom
Hi! I have a question about executing a Kafka producer application, utilizing multiple threads. In the documentation for Kafka producers ( https://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html) it says that "...sharing a single producer instance a

Re: is exactly-once supported with kafka streams application with external state store like redis

2023-04-03 Thread Guozhang Wang
additional API implementations in order to support EOS. Guozhang On Mon, Apr 3, 2023 at 5:06 AM Pushkar Deole wrote: > > Hi All, > > We are using streams application with redis for state store. > Redis was mainly considered instead of kafka state stores because of the > reason that globa

is exactly-once supported with kafka streams application with external state store like redis

2023-04-03 Thread Pushkar Deole
Hi All, We are using streams application with redis for state store. Redis was mainly considered instead of kafka state stores because of the reason that global state store once updated by one application instance was taking few milliseconds to reflect updated global state to another application

Re: Stream sinks are not constructed when application starts up before Kafka broker

2022-11-23 Thread John Roesler
g to track down an issue where the stream processors are > not correctly configured when the application starts up before Kafka is up. > Specifically, all of the processor nodes are correctly created except for > the KTABLE-SINK-0# node. The result of this is that the services &g

Stream sinks are not constructed when application starts up before Kafka broker

2022-11-22 Thread Alexander Kau
where the stream processors are not correctly configured when the application starts up before Kafka is up. Specifically, all of the processor nodes are correctly created except for the KTABLE-SINK-0# node. The result of this is that the services consume messages but do not forward their

Re: Out of order messages when kafka streams application catches up

2022-11-15 Thread Sophie Blee-Goldman
t; Otherwise, I think the best path forward would be to file a bug report > > > on the Apache Kafka Jira with enough information to reproduce the issue > > > (or if you’re able to provide a repro, that would be awesome). > > > > > > Thanks, and sorr

Re: Out of order messages when kafka streams application catches up

2022-11-15 Thread Tomasz Gac
f you’re able to provide a repro, that would be awesome). > > > > Thanks, and sorry for the trouble. > > -John > > > > On Tue, Sep 27, 2022, at 03:15, Tomasz Gac wrote: > >> I upgraded to kafka streams 3.0.0 with positive task.max.idle.ms and > it d

Re: Out of order messages when kafka streams application catches up

2022-09-30 Thread John Roesler
fka streams 3.0.0 with positive task.max.idle.ms and it did >> not help. >> When lag is large, the application still consumes data batches without >> interleaving. >> >> >> >> wt., 27 wrz 2022 o 05:51 John Roesler napisał(a): >> >>> Hi T

Re: Out of order messages when kafka streams application catches up

2022-09-30 Thread John Roesler
ith positive task.max.idle.ms and it did > not help. > When lag is large, the application still consumes data batches without > interleaving. > > > > wt., 27 wrz 2022 o 05:51 John Roesler napisał(a): > >> Hi Tomasz, >> >> Thanks for asking. This soun

Re: Out of order messages when kafka streams application catches up

2022-09-27 Thread Tomasz Gac
I upgraded to kafka streams 3.0.0 with positive task.max.idle.ms and it did not help. When lag is large, the application still consumes data batches without interleaving. wt., 27 wrz 2022 o 05:51 John Roesler napisał(a): > Hi Tomasz, > > Thanks for asking. This sounds like the situa

Re: Out of order messages when kafka streams application catches up

2022-09-26 Thread John Roesler
? Thanks, -John On Mon, Sep 26, 2022, at 01:35, Tomasz Gac wrote: > Hi group, > > I wrote a simple kafka streams application with topology such as below: > > builder.addStateStore( >> Stores.keyValueStoreBuilder( >> Stores.persistentKeyValueStore(&qu

Out of order messages when kafka streams application catches up

2022-09-25 Thread Tomasz Gac
Hi group, I wrote a simple kafka streams application with topology such as below: builder.addStateStore( > Stores.keyValueStoreBuilder( > Stores.persistentKeyValueStore("STORE"), > Serdes.String(), Serdes.String()) > .withLoggingEnabled(storeConfi

Re: Globalktable usage in a multi microservices application

2021-11-03 Thread Vincent Maurin
Hello The idea behind a GlobalKTable is to materiliaze data (a kafka topic) close from where it is used. Actually, each task/worker will materialize the full GlobalKTable in order to use it. So in your scenario, what should be shared between your services is ideally the Kafka topic used to bu

Globalktable usage in a multi microservices application

2021-11-02 Thread Sigalit Eliazov
we have 2 microservices: responsible for consuming message and update a globalKtable with configuration information (key=id, value=myObject) once it is activated with some id as an input it should look into the configuration globalKtable and retrieve data by that id how is it possible to access

Re: does kafka streams guarantee EOS with external producer used in application?

2021-07-15 Thread Matthias J. Sax
sure that yoru write will succeed, before the next commit may happen. Yes, there can be multiple sink nodes. -Matthias On 7/14/21 10:09 PM, Pushkar Deole wrote: > That's exactly what my question was: since there is an external producer in > the application without a sink node in to

Re: does kafka streams guarantee EOS with external producer used in application?

2021-07-14 Thread Pushkar Deole
That's exactly what my question was: since there is an external producer in the application without a sink node in topology, how will the streams know that task is completed before committing the offset or it will not know at all ? Second question is: can there be multiple sink nodes i

Re: does kafka streams guarantee EOS with external producer used in application?

2021-07-14 Thread Matthias J. Sax
> Matthias, >>> >>> Do you have any inputs on above queries? >>> >>> On Wed, Jun 30, 2021 at 7:15 PM Pushkar Deole >> wrote: >>> >>>> Hi, >>>> >>>> Our application uses kafka streams that reads from a source t

Re: does kafka streams guarantee EOS with external producer used in application?

2021-07-14 Thread Pushkar Deole
t; Matthias, > > > > Do you have any inputs on above queries? > > > > On Wed, Jun 30, 2021 at 7:15 PM Pushkar Deole > wrote: > > > >> Hi, > >> > >> Our application uses kafka streams that reads from a source topic, does > >> pr

Re: does kafka streams guarantee EOS with external producer used in application?

2021-07-13 Thread Matthias J. Sax
gt; Do you have any inputs on above queries? > > On Wed, Jun 30, 2021 at 7:15 PM Pushkar Deole wrote: > >> Hi, >> >> Our application uses kafka streams that reads from a source topic, does >> processing on records and produces processed record on destination to

Re: does kafka streams guarantee EOS with external producer used in application?

2021-07-09 Thread Pushkar Deole
Matthias, Do you have any inputs on above queries? On Wed, Jun 30, 2021 at 7:15 PM Pushkar Deole wrote: > Hi, > > Our application uses kafka streams that reads from a source topic, does > processing on records and produces processed record on destination topic > through the

does kafka streams guarantee EOS with external producer used in application?

2021-06-30 Thread Pushkar Deole
Hi, Our application uses kafka streams that reads from a source topic, does processing on records and produces processed record on destination topic through the use of external producer i.e. the producer created via kafka producer API. Does this model still guarantee exactly once semantic or it

Re: Application state persistence in Kafka

2021-05-20 Thread Urko Lekuona
o On 2021/05/17 15:35:12, mangat rai wrote: > Urko,> > > You can enable changelog topics for your state store. This will enable the> > application to persist the data to a Kafka topic. Next time when> > application start, it will first build it's state by using this topic. Ar

Re: Application state persistence in Kafka

2021-05-17 Thread mangat rai
Urko, You can enable changelog topics for your state store. This will enable the application to persist the data to a Kafka topic. Next time when application start, it will first build it's state by using this topic. Are you using Kstreams or the low-level processor API? Regards, Mangat O

Application state persistence in Kafka

2021-05-17 Thread Urko Lekuona
Hello, I have a question regarding the use of Kafka/Kafka Streams to store the state of a stateful application. My application is filtering on a stream based on a value from the previous event of the stream. For example, if the previous car with the same model was red, this car cannot be red

Re: Kafka Streams application startup issues

2021-04-05 Thread Guozhang Wang
t; Hello, > > > > I’m working on creating an application that leverages Kafka and Kafka > Streams. I have some issues with application startup that I’ve been unable > to solve myself even with the help of my team mates, so I’m writing here in > the hopes that someone could off

Kafka Streams application startup issues

2021-03-31 Thread Hänninen , Mikko
Hello, I’m working on creating an application that leverages Kafka and Kafka Streams. I have some issues with application startup that I’ve been unable to solve myself even with the help of my team mates, so I’m writing here in the hopes that someone could offer help. I’d be very grateful

Re: Guidance to downgrade the stateful Kafka stream application?

2020-12-17 Thread Sophie Blee-Goldman
elog topic. Best, Sophie On Thu, Dec 17, 2020 at 11:59 AM Ming Liu wrote: > Hi Team, > I can't find any documentation or guidance on the expectation of the > downgrade of stateful Kafka stream application (which has different rocksdb > versions embedded). > For example,

Guidance to downgrade the stateful Kafka stream application?

2020-12-17 Thread Ming Liu
Hi Team, I can't find any documentation or guidance on the expectation of the downgrade of stateful Kafka stream application (which has different rocksdb versions embedded). For example, if we upgrade from 2.2 to 2.5 (with binary upgrade only and using the same eager protocol) and so

Re: Kafka Streams: Creating Serde in Scala for application specific object

2020-12-01 Thread Eric Beabes
Don't worry about this one. Figured it out. Created a Serde for MyAppObject & implemented my own Serializer & Deserializer classes. object MyAppObjectSerde extends Serde[MyAppObject] { override def serializer(): Serializer[MyAppObject] = new MyAppObjectSerializer override def deserializer():

Kafka Streams: Creating Serde in Scala for application specific object

2020-12-01 Thread Eric Beabes
I am grouping messages as follows: .groupBy((_, myAppObject) => myAppObject.getId)(Grouped.`with`[String, MyAppObject]) I am getting a message saying.. "No implicits found for parameter valueSerde: Serde[MyAppObject] My understanding is I need to add an implicit like this... implicit val *my

Re: On the best number of partitions per topic for kafka based application and the best number of consumers per topic?

2020-11-15 Thread Mazen Ezzeddine
Scheidegger Sent: Sunday, November 15, 2020 9:57 AM To: users@kafka.apache.org Subject: Re: On the best number of partitions per topic for kafka based application and the best number of consumers per topic? Kafka alone wouldn't scale down your consumers, but you can get metrics from Kafka and use

Re: On the best number of partitions per topic for kafka based application and the best number of consumers per topic?

2020-11-15 Thread Vinicius Scheidegger
wrote: > Thanks, > My question is mostly about dynamic resource optimization, > > say I configured my application with 30 partitions and then I managed for > 30 consumers (within a consumer group) to read/process the produced > messages, but say at for instance at some unpeak

Re: On the best number of partitions per topic for kafka based application and the best number of consumers per topic?

2020-11-14 Thread Mazen Ezzeddine
Thanks, My question is mostly about dynamic resource optimization, say I configured my application with 30 partitions and then I managed for 30 consumers (within a consumer group) to read/process the produced messages, but say at for instance at some unpeak load, I realized that a single

Re: On the best number of partitions per topic for kafka based application and the best number of consumers per topic?

2020-11-14 Thread Vinicius Scheidegger
This depends on the design of your application and how you are using Kafka. For instance, if you are using Kafka as a message queuing app, using consumers within a consumer group to load balance, then you should create the topics with as many partitions as the max number of consumers within the

On the best number of partitions per topic for kafka based application and the best number of consumers per topic?

2020-11-14 Thread Mazen Ezzeddine
Given a business application that resorts into a message queue solution like Kafka, what is the best number of partitions to select for a given topic? what influences such a decision? On the other hand, say we want to achieve a maximal throughput of message consumption but at minimal resource

Re: Kafka Streams application stuck rebalancing on startup

2020-11-05 Thread Alex Jablonski
ues.apache.org/jira/browse/KAFKA-10689 > > I also think we can do a better job of surfacing issues like this, > rather than letting the > application silently spin without making progress. I left some thoughts on > the JIRA > ticket and will try to incorporate one of them into th

Re: Kafka Streams application stuck rebalancing on startup

2020-11-05 Thread Sophie Blee-Goldman
Ok I looked into this a bit and found the bug. I'll open a PR with the fix sometime today: https://issues.apache.org/jira/browse/KAFKA-10689 I also think we can do a better job of surfacing issues like this, rather than letting the application silently spin without making progress. I left

Re: Kafka Streams application stuck rebalancing on startup

2020-11-02 Thread Sophie Blee-Goldman
rt of the task assignment process: > > > > 2020-10-28 12:22:37.879 DEBUG 27226 --- [-StreamThread-1] > > o.a.k.s.p.i.StreamsPartitionAssignor : stream-thread > > > > > [demo-application-81060bdc-c8cc-4350-85f8-d238267e264e-StreamThread-1-consumer] > > Constr

Re: Kafka Streams application stuck rebalancing on startup

2020-10-28 Thread Alex Jablonski
> 2020-10-28 12:22:37.879 DEBUG 27226 --- [-StreamThread-1] > o.a.k.s.p.i.StreamsPartitionAssignor : stream-thread > > [demo-application-81060bdc-c8cc-4350-85f8-d238267e264e-StreamThread-1-consumer] > Constructed client metadata > {81060bdc-c8cc-4350-85f8-d238267e264e=ClientMetadata{hostInf

Re: Kafka Streams application stuck rebalancing on startup

2020-10-28 Thread Sophie Blee-Goldman
ead-1] o.a.k.s.p.i.StreamsPartitionAssignor : stream-thread [demo-application-81060bdc-c8cc-4350-85f8-d238267e264e-StreamThread-1-consumer] Constructed client metadata {81060bdc-c8cc-4350-85f8-d238267e264e=ClientMetadata{hostInfo=null, consumers=[demo-application-81060bdc-c8cc-4350-85f8-d238267e264e-StreamThr

Re: Kafka Streams application stuck rebalancing on startup

2020-10-27 Thread Sophie Blee-Goldman
at's probably the reason. It's not at all uncommon for restoration to take more than 30 seconds. If it really is rebalancing this entire time, then you need to look into the logs to figure out why. I don't see anything obviously wrong with your particular application, and even if ther

Kafka Streams application stuck rebalancing on startup

2020-10-15 Thread Alex Jablonski
Hey there! My team and I have run across a bit of a jam in our application where, given a particular setup, our Kafka Streams application never seems to start successfully, instead just getting stuck in the REBALANCING state. We've been able to get the crucial factors that cause this beh

Re: Kafka streams - how to handle application level exception in event processing

2020-09-23 Thread Pushkar Deole
links Gilles posted. > > Best, > Bruno > > On 22.09.20 10:51, Pushkar Deole wrote: > > Thank you Gilles..will take a look.. > > > > Bruno, thanks for your elaborate explanation as well... however it > > basically exposes my application to certain issues.. >

Re: Kafka streams - how to handle application level exception in event processing

2020-09-23 Thread Bruno Cadonna
it basically exposes my application to certain issues.. e.g. the application deals with agent states of a call center, and where the order of processing is important. So when agent is logged in then he keeps rotating between Ready, and Not ready states and at the end of the day he becomes Logged

Re: Kafka streams - how to handle application level exception in event processing

2020-09-22 Thread Pushkar Deole
Thank you Gilles..will take a look.. Bruno, thanks for your elaborate explanation as well... however it basically exposes my application to certain issues.. e.g. the application deals with agent states of a call center, and where the order of processing is important. So when agent is logged in

Re: Kafka streams - how to handle application level exception in event processing

2020-09-22 Thread Gilles Philippart
te: > > Bruno, > > > > So, essentially, we are just waiting on the processing of first event > that > > got an error before going ahead on to the next one. > > > > Second, if application handles storing the events in state store for > retry, > > Ka

Re: Kafka streams - how to handle application level exception in event processing

2020-09-22 Thread Bruno Cadonna
application handles storing the events in state store for retry, Kafka stream would essentially commit the offset of those events, so next event will be polled by consumer, correct? Instead of this work around, is there any provision in kafka streams for this scenario? e.g. in case application

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Pushkar Deole
Bruno, So, essentially, we are just waiting on the processing of first event that got an error before going ahead on to the next one. Second, if application handles storing the events in state store for retry, Kafka stream would essentially commit the offset of those events, so next event will

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Malcolm McFarland
21.09.20 14:21, Pushkar Deole wrote: > > Bruno, > > > > 1. the loading of topic mapped to GlobalKTable is done by some other > > service/application so when my application starts up, it will just sync a > > GlobalKTable against that topic and if that other service/appl

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Bruno Cadonna
stopped and nothing is emitted. Best, Bruno On 21.09.20 14:21, Pushkar Deole wrote: Bruno, 1. the loading of topic mapped to GlobalKTable is done by some other service/application so when my application starts up, it will just sync a GlobalKTable against that topic and if that other service

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Pushkar Deole
Bruno, 1. the loading of topic mapped to GlobalKTable is done by some other service/application so when my application starts up, it will just sync a GlobalKTable against that topic and if that other service/application is still starting up then it may not have loaded that data on that topic and

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Bruno Cadonna
once. You also need to avoid the state store growing indefinitely if required data in the global table is not available for a long time or not available at all. Maybe all this caveats do not apply to your use case. Best, Bruno On 21.09.20 13:45, Pushkar Deole wrote: Say the application level

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Pushkar Deole
Say the application level exception is named as : MeasureDefinitionNotAvaialbleException What I am trying to achieve is: in above case when the event processing fails due to required data not available, the streams should not proceed on to next event, however it should wait for the processing of

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Pushkar Deole
It is not a kafka streams error, it is an application level error e.g. say, some data required for processing an input event is not available in the GlobalKTable since it is not yet synced with the global topic On Mon, Sep 21, 2020 at 4:54 PM Bruno Cadonna wrote: > Hi Pushkar, > > Is

Re: Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Bruno Cadonna
Hi Pushkar, Is the error you are talking about, one that is thrown by Kafka Streams or by your application? If it is thrown by Kafka Streams, could you please post the error? I do not completely understand what you are trying to achieve, but maybe max.task.idle.ms [1] is the configuration

Kafka streams - how to handle application level exception in event processing

2020-09-21 Thread Pushkar Deole
Hi, I would like to know how to handle following scenarios while processing events in a kafka streams application: 1. the streams application needs data from a globalKtable which loads it from a topic that is populated by some other service/application. So, if the streams application starts

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-06-23 Thread Pushkar Deole
Hi Matthias, I have configured the GlobalKTable to stream from a topic and application is working fine, however during automated build test cases, sometimes I get an exception: I believe this could be because of race between actual topic creation and the service startup (since topic creation may

How to design topics in an application that is designed for real time application?

2020-06-18 Thread Anto Aravinth
Hello, I'm playing around kafka for building a chat application. Here is what I have done so far: 1. I have set up a CDC (change data capture) on my Postgresql database 2. The change on my table will get published to Kafka 3. I have node socket.io server, which listen to these messages on

Re: Application

2020-06-08 Thread Matthias J. Sax
It's self-service. Please follow the instructions from the web page: https://kafka.apache.org/contact -Matthias On 6/7/20 4:49 PM, wang120445...@sina.com wrote: > hi kafka: >I want to apply Contributor's List. > end > > > > wang120445...@sina.com >

Application

2020-06-08 Thread wang120445...@sina.com
hi kafka: I want to apply Contributor's List. end wang120445...@sina.com

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-28 Thread Pushkar Deole
c up with topic >> after >> >>> the event has been put on the topic. >> >>> >> >>> On Tue, May 26, 2020 at 10:58 PM Matthias J. Sax >> >>> wrote: >> >>> >> >>>> For example it could be some "sta

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-27 Thread Pushkar Deole
nformation, like a mapping from > >>>> zip code to city name. > >>>> > >>>> Something that does usually not change over time. > >>>> > >>>> > >>>> -Matthias > >>>> > >>>> On 5/25/20

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-27 Thread Matthias J. Sax
t;>>> >>>> >>>> -Matthias >>>> >>>> On 5/25/20 9:55 PM, Pushkar Deole wrote: >>>>> Matthias, >>>>> >>>>> I am wondering what you mean by "Global store hold "axially"

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-27 Thread Pushkar Deole
as, >>> > >>> > I am wondering what you mean by "Global store hold "axially" data that >>> is >>> > provided from "outside" of the >>> > app" >>> > >>> > will you be able to give some example u

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-27 Thread Pushkar Deole
able to give some example use case here as to what you mean >> by >> > axially data provided from outside app? >> > >> > On Sat, May 2, 2020 at 1:58 AM Matthias J. Sax >> wrote: >> > >> >> Both stores sever a different purpose. >> >&g

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-27 Thread Pushkar Deole
t; > app" > > > > will you be able to give some example use case here as to what you mean > by > > axially data provided from outside app? > > > > On Sat, May 2, 2020 at 1:58 AM Matthias J. Sax wrote: > > > >> Both stores sever a different pu

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-26 Thread Matthias J. Sax
Both stores sever a different purpose. >> >> Regular stores allow you to store state the application computes. >> Writing into the changelog is a fault-tolerance mechanism. >> >> Global store hold "axially" data that is provided from "outside" of the

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-25 Thread Pushkar Deole
1:58 AM Matthias J. Sax wrote: > Both stores sever a different purpose. > > Regular stores allow you to store state the application computes. > Writing into the changelog is a fault-tolerance mechanism. > > Global store hold "axially" data that is provided from "outside

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-11 Thread John Roesler
> > > > I hope this helps! > > -John > > > > On Tue, May 5, 2020, at 01:23, Pushkar Deole wrote: > > > Thanks John... appreciate your inputs and suggestions. I have been > > assigned > > > recently to this task (of persisting the cache)

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-11 Thread Pushkar Deole
y to this task (of persisting the cache) and haven't been involved > > in original design and architecture and agree with all the issues you > have > > highlighted. > > However, at this point, i don't think the application can be converted to > > streams since the d

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-08 Thread Pushkar Deole
Hello John, Matthias Sorry for bothering you, however this is now getting crazier. Initially I was under the impression that the cache being hold by application is in the form of key/value where key is the instance of agentId (e.g. 10) and value will hold other attributes (and their respective

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-07 Thread John Roesler
: > Thanks John... appreciate your inputs and suggestions. I have been assigned > recently to this task (of persisting the cache) and haven't been involved > in original design and architecture and agree with all the issues you have > highlighted. > However, at this point, i don't

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-04 Thread Pushkar Deole
Thanks John... appreciate your inputs and suggestions. I have been assigned recently to this task (of persisting the cache) and haven't been involved in original design and architecture and agree with all the issues you have highlighted. However, at this point, i don't think the applicat

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-04 Thread Pushkar Deole
is not designed to provide replicated > > caching mechanism wherein the updates to cache will be synchronous across > > multiple cache instances. > > > > On Sun, May 3, 2020 at 10:49 PM Pushkar Deole > wrote: > > > > > Thanks John. > > > > > >

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-04 Thread John Roesler
instances. > > On Sun, May 3, 2020 at 10:49 PM Pushkar Deole wrote: > > > Thanks John. > > > > Actually, this is a normal consumer-producer application wherein there are > > 2 consumers (admin consumer and main consumer) consuming messages from 2 > > dif

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-04 Thread Pushkar Deole
-producer application wherein there are > 2 consumers (admin consumer and main consumer) consuming messages from 2 > different topics. > One of the consumers consumes messages from a admin topic and populates > data in a cache e.g. lets say agent with agent id 10 for which the first > name a

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-03 Thread Pushkar Deole
Thanks John. Actually, this is a normal consumer-producer application wherein there are 2 consumers (admin consumer and main consumer) consuming messages from 2 different topics. One of the consumers consumes messages from a admin topic and populates data in a cache e.g. lets say agent with agent

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-03 Thread John Roesler
Hi Pushkar, I’ve been wondering if we should add writable tables to the Streams api. Can you explain more about your use case and how it would integrate with your application? Incidentally, this would also help us provide more concrete advice. Thanks! John On Fri, May 1, 2020, at 15:28

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-05-01 Thread Matthias J. Sax
Both stores sever a different purpose. Regular stores allow you to store state the application computes. Writing into the changelog is a fault-tolerance mechanism. Global store hold "axially" data that is provided from "outside" of the app. There is no changelog topic, but

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-04-30 Thread Pushkar Deole
> >>> > >>> I am wondering if this is possible: i have been asked to use state > stores > >>> as a general replicated cache among multiple instances of service > >> instances > >>> however the state store is created through streambuilder but i

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-04-30 Thread Matthias J. Sax
e is created through streambuilder but is not >>> actually modified through stream processor topology however it is to be >>> modified from outside the stream topology. So, essentially, the state >> store >>> is just to be created from streambuilder and then to

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-04-30 Thread Pushkar Deole
lder but is not > > actually modified through stream processor topology however it is to be > > modified from outside the stream topology. So, essentially, the state > store > > is just to be created from streambuilder and then to be used as an > > application level cach

Re: can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-04-30 Thread Matthias J. Sax
ugh stream processor topology however it is to be > modified from outside the stream topology. So, essentially, the state store > is just to be created from streambuilder and then to be used as an > application level cache that will get replicated between application > instances.

can kafka state stores be used as a application level cache by application to modify it from outside the stream topology?

2020-04-29 Thread Pushkar Deole
modified from outside the stream topology. So, essentially, the state store is just to be created from streambuilder and then to be used as an application level cache that will get replicated between application instances. Is this possible using state stores? Secondly, if possible, is this a good

Can kafka state stores be used without streams and accessed globally through multiple application instances?

2020-04-28 Thread Pushkar Deole
Hi All, I have a kafka application which consums events from multiple topics, stores certain fields from the events in local in-memory cache, based on the cached data it enriches some of the events consumed from another topic e.g. say for agent id 10, the first name and last name are cached then

Re: Query on use of Glassfish application server

2020-02-22 Thread Guozhang Wang
Hello, As far as I know Kafka connect's Rest server depends on Glassfish for web-app configuration; the Kafka brokers do not. Guozhang On Sat, Feb 22, 2020 at 5:29 AM ashish sood wrote: > Hello, > > This is more of a query rather than an issue. I am working with java based

Query on use of Glassfish application server

2020-02-22 Thread ashish sood
Hello, This is more of a query rather than an issue. I am working with java based application & Kafka connect worker in distributed mode. While going through the logs post I started the worker, I see some logs for Glassfish. I would want to know if Kafka uses Glassfish server internally to

Re: Running stateful Kafka Stream Application on topic with multiple partitions

2019-11-16 Thread Matthias J. Sax
You need to partition the input data correctly, thus that all records with the same key go the same partition. For this case, all records with the same key will be processed by the same task, and thus each key is stored in one shard only. -Matthias On 11/15/19 4:28 PM, Gioacchino Vino wrote: > Hi

Running stateful Kafka Stream Application on topic with multiple partitions

2019-11-15 Thread Gioacchino Vino
Hi expert, I don't understand a kafka behavior and I'm here to ask for explanation. My processing task is pretty simple and it's quite similar to a change-log one. The record value contains a key/value pair: if the new value is different respect the stored one, forward to the output topic a

Re: Running Kafka Stream Application in YARN

2019-11-15 Thread Ryanne Dolan
> Why that? Just because there is explicit documentation? Just that they target YARN. Ryanne On Thu, Nov 14, 2019, 1:59 AM Matthias J. Sax wrote: > Why that? Just because there is explicit documentation? > > > @Debraj: Kafka Streams can be deployed as a regular Java applicatio

Re: Running Kafka Stream Application in YARN

2019-11-14 Thread Matthias J. Sax
Why that? Just because there is explicit documentation? @Debraj: Kafka Streams can be deployed as a regular Java application. Hence, and tutorial on how to run a Java application on YARN should help. -Matthias On 11/11/19 10:33 AM, Ryanne Dolan wrote: > Consider using Flink, Spark, or Sa

Re: Running Kafka Stream Application in YARN

2019-11-11 Thread Ryanne Dolan
Consider using Flink, Spark, or Samza instead. Ryanne On Fri, Nov 8, 2019, 4:27 AM Debraj Manna wrote: > Hi > > Is there any documentation or link I can refer to for the steps for > deploying the Kafka Streams application in YARN? > > Kafka Client - 0.11.0.3 > Kafka

  1   2   3   4   >