I'm going to bow out of this discussion since it's been made clear that the 
feature is not targeted at streams. But for the record, my desire is to have an 
alternative to the timestamp based message choosing strategy streams currently 
imposes, and I thought topic prioritization in the consumer could potentially 
enable that. See https://issues.apache.org/jira/browse/KAFKA-4113

-Tommy

On Mon, 2019-01-14 at 19:19 -0500, n...@afshartous.com wrote:

Hi Jan,


As discussed, I’ve adopted the position that MessageChooser is orthogonal to 
topic prioritization and hence outside the scope of KIP-349.

--

      Nick



On Jan 14, 2019, at 12:47 AM, Jan Filipiak 
<jan.filip...@trivago.com<mailto:jan.filip...@trivago.com>> wrote:


On 14.01.2019 02:48, n...@afshartous.com<mailto:n...@afshartous.com> 
<mailto:n...@afshartous.com<mailto:n...@afshartous.com>> wrote:



On reflection, it would be hard to describe the semantics of an API that tried 
to address starvation by temporarily disabling prioritization, and then 
oscillating back and forth.

Thus I agree that it makes sense not to try and address starvation to Mathias’ 
point that this is intended by design.  The KIP has been updated to reflect 
this by removing the second method.



The semantics of almost everything are hard to describe with only those

two tools at hand. Just here to remember yall that Samza already shows

us the interface of a powerful enough abstraction to get stuff done :)


https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsamza.apache.org%2Flearn%2Fdocumentation%2F0.12%2Fapi%2Fjavadocs%2Forg%2Fapache%2Fsamza%2Fsystem%2Fchooser%2FMessageChooser.html&amp;data=02%7C01%7CThomas.Becker%40tivo.com%7C442806cbda9d49b2495b08d67a7f1886%7Cd05b7c6912014c0db45d7f1dcc227e4d%7C1%7C0%7C636831083628567804&amp;sdata=KQSr42ldcMoR7xYUgJUOL6U%2FzsQyMGrE7xXXuscQVXA%3D&amp;reserved=0
 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsamza.apache.org%2Flearn%2Fdocumentation%2F0.12%2Fapi%2Fjavadocs%2Forg%2Fapache%2Fsamza%2Fsystem%2Fchooser%2FMessageChooser.html&amp;data=02%7C01%7CThomas.Becker%40tivo.com%7C442806cbda9d49b2495b08d67a7f1886%7Cd05b7c6912014c0db45d7f1dcc227e4d%7C1%7C0%7C636831083628567804&amp;sdata=KQSr42ldcMoR7xYUgJUOL6U%2FzsQyMGrE7xXXuscQVXA%3D&amp;reserved=0>


welcome :)






--
[cid:b273dd8104d798cae8911c5c326b64f16294580e.camel@tivo.com] Tommy Becker
Principal Engineer
Personalized Content Discovery
O +1 919.460.4747
tivo.com<http://www.tivo.com/>

________________________________

This email and any attachments may contain confidential and privileged material 
for the sole use of the intended recipient. Any review, copying, or 
distribution of this email (or any attachments) by others is prohibited. If you 
are not the intended recipient, please contact the sender immediately and 
permanently delete this email and any attachments. No employee or agent of TiVo 
Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by 
email. Binding agreements with TiVo Inc. may only be made by a signed written 
agreement.

Reply via email to