[jira] [Updated] (KAFKA-5030) Suggested clean-ups from message format V2 review

2019-02-17 Thread Matthias J. Sax (JIRA)


 [ 
https://issues.apache.org/jira/browse/KAFKA-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias J. Sax updated KAFKA-5030:
---
Fix Version/s: (was: 2.2.0)

> Suggested clean-ups from message format V2 review
> -
>
> Key: KAFKA-5030
> URL: https://issues.apache.org/jira/browse/KAFKA-5030
> Project: Kafka
>  Issue Type: Sub-task
>  Components: clients, core, producer 
>Reporter: Ismael Juma
>Priority: Major
>  Labels: exactly-once
>
> A few random clean-ups raised during the review of the message format V2 PR:
> 1. We should use magic or message format version consistently. It seems like 
> we are moving towards the former.
> 2. We should consider moving Log.analyzeAndValidateRecords to LogValidator so 
> that the validation logic is all in the same class.
> 3. MemoryRecords.toString should include batch information, it currently only 
> includes records information.
> 4. Record.hasMagic should be hasCompatibleMagic to make the behaviour 
> clearer. For version 2, it returns true if the passed magic is greater than 
> or equal to 2.
> 5. Once we move to Java 8, move AbstractRecordBatch's methods to RecordBatch 
> (i.e. default methods) and remove AbstractRecordBatch.
> 6. Consider moving some of the down-conversion logic from KafkaApis to 
> FetchRequest so that it can be more easily unit testable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KAFKA-5030) Suggested clean-ups from message format V2 review

2018-10-02 Thread Dong Lin (JIRA)


 [ 
https://issues.apache.org/jira/browse/KAFKA-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dong Lin updated KAFKA-5030:

Fix Version/s: (was: 2.1.0)
   2.2.0

> Suggested clean-ups from message format V2 review
> -
>
> Key: KAFKA-5030
> URL: https://issues.apache.org/jira/browse/KAFKA-5030
> Project: Kafka
>  Issue Type: Sub-task
>  Components: clients, core, producer 
>Reporter: Ismael Juma
>Priority: Major
>  Labels: exactly-once
> Fix For: 2.2.0
>
>
> A few random clean-ups raised during the review of the message format V2 PR:
> 1. We should use magic or message format version consistently. It seems like 
> we are moving towards the former.
> 2. We should consider moving Log.analyzeAndValidateRecords to LogValidator so 
> that the validation logic is all in the same class.
> 3. MemoryRecords.toString should include batch information, it currently only 
> includes records information.
> 4. Record.hasMagic should be hasCompatibleMagic to make the behaviour 
> clearer. For version 2, it returns true if the passed magic is greater than 
> or equal to 2.
> 5. Once we move to Java 8, move AbstractRecordBatch's methods to RecordBatch 
> (i.e. default methods) and remove AbstractRecordBatch.
> 6. Consider moving some of the down-conversion logic from KafkaApis to 
> FetchRequest so that it can be more easily unit testable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KAFKA-5030) Suggested clean-ups from message format V2 review

2018-06-06 Thread Rajini Sivaram (JIRA)


 [ 
https://issues.apache.org/jira/browse/KAFKA-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajini Sivaram updated KAFKA-5030:
--
Fix Version/s: (was: 2.0.0)
   2.1.0

> Suggested clean-ups from message format V2 review
> -
>
> Key: KAFKA-5030
> URL: https://issues.apache.org/jira/browse/KAFKA-5030
> Project: Kafka
>  Issue Type: Sub-task
>  Components: clients, core, producer 
>Reporter: Ismael Juma
>Priority: Major
>  Labels: exactly-once
> Fix For: 2.1.0
>
>
> A few random clean-ups raised during the review of the message format V2 PR:
> 1. We should use magic or message format version consistently. It seems like 
> we are moving towards the former.
> 2. We should consider moving Log.analyzeAndValidateRecords to LogValidator so 
> that the validation logic is all in the same class.
> 3. MemoryRecords.toString should include batch information, it currently only 
> includes records information.
> 4. Record.hasMagic should be hasCompatibleMagic to make the behaviour 
> clearer. For version 2, it returns true if the passed magic is greater than 
> or equal to 2.
> 5. Once we move to Java 8, move AbstractRecordBatch's methods to RecordBatch 
> (i.e. default methods) and remove AbstractRecordBatch.
> 6. Consider moving some of the down-conversion logic from KafkaApis to 
> FetchRequest so that it can be more easily unit testable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KAFKA-5030) Suggested clean-ups from message format V2 review

2018-02-01 Thread Damian Guy (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Damian Guy updated KAFKA-5030:
--
Fix Version/s: (was: 1.1.0)
   1.2.0

> Suggested clean-ups from message format V2 review
> -
>
> Key: KAFKA-5030
> URL: https://issues.apache.org/jira/browse/KAFKA-5030
> Project: Kafka
>  Issue Type: Sub-task
>  Components: clients, core, producer 
>Reporter: Ismael Juma
>Priority: Major
>  Labels: exactly-once
> Fix For: 1.2.0
>
>
> A few random clean-ups raised during the review of the message format V2 PR:
> 1. We should use magic or message format version consistently. It seems like 
> we are moving towards the former.
> 2. We should consider moving Log.analyzeAndValidateRecords to LogValidator so 
> that the validation logic is all in the same class.
> 3. MemoryRecords.toString should include batch information, it currently only 
> includes records information.
> 4. Record.hasMagic should be hasCompatibleMagic to make the behaviour 
> clearer. For version 2, it returns true if the passed magic is greater than 
> or equal to 2.
> 5. Once we move to Java 8, move AbstractRecordBatch's methods to RecordBatch 
> (i.e. default methods) and remove AbstractRecordBatch.
> 6. Consider moving some of the down-conversion logic from KafkaApis to 
> FetchRequest so that it can be more easily unit testable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KAFKA-5030) Suggested clean-ups from message format V2 review

2017-09-22 Thread Guozhang Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guozhang Wang updated KAFKA-5030:
-
Fix Version/s: (was: 1.0.0)
   1.1.0

> Suggested clean-ups from message format V2 review
> -
>
> Key: KAFKA-5030
> URL: https://issues.apache.org/jira/browse/KAFKA-5030
> Project: Kafka
>  Issue Type: Sub-task
>  Components: clients, core, producer 
>Reporter: Ismael Juma
>  Labels: exactly-once
> Fix For: 1.1.0
>
>
> A few random clean-ups raised during the review of the message format V2 PR:
> 1. We should use magic or message format version consistently. It seems like 
> we are moving towards the former.
> 2. We should consider moving Log.analyzeAndValidateRecords to LogValidator so 
> that the validation logic is all in the same class.
> 3. MemoryRecords.toString should include batch information, it currently only 
> includes records information.
> 4. Record.hasMagic should be hasCompatibleMagic to make the behaviour 
> clearer. For version 2, it returns true if the passed magic is greater than 
> or equal to 2.
> 5. Once we move to Java 8, move AbstractRecordBatch's methods to RecordBatch 
> (i.e. default methods) and remove AbstractRecordBatch.
> 6. Consider moving some of the down-conversion logic from KafkaApis to 
> FetchRequest so that it can be more easily unit testable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (KAFKA-5030) Suggested clean-ups from message format V2 review

2017-06-27 Thread Ismael Juma (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismael Juma updated KAFKA-5030:
---
Parent Issue: KAFKA-5527  (was: KAFKA-4815)

> Suggested clean-ups from message format V2 review
> -
>
> Key: KAFKA-5030
> URL: https://issues.apache.org/jira/browse/KAFKA-5030
> Project: Kafka
>  Issue Type: Sub-task
>  Components: clients, core, producer 
>Reporter: Ismael Juma
>  Labels: exactly-once
> Fix For: 0.11.1.0
>
>
> A few random clean-ups raised during the review of the message format V2 PR:
> 1. We should use magic or message format version consistently. It seems like 
> we are moving towards the former.
> 2. We should consider moving Log.analyzeAndValidateRecords to LogValidator so 
> that the validation logic is all in the same class.
> 3. MemoryRecords.toString should include batch information, it currently only 
> includes records information.
> 4. Record.hasMagic should be hasCompatibleMagic to make the behaviour 
> clearer. For version 2, it returns true if the passed magic is greater than 
> or equal to 2.
> 5. Once we move to Java 8, move AbstractRecordBatch's methods to RecordBatch 
> (i.e. default methods) and remove AbstractRecordBatch.
> 6. Consider moving some of the down-conversion logic from KafkaApis to 
> FetchRequest so that it can be more easily unit testable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)