[jira] [Resolved] (STORM-2775) Improve KafkaPartition Metric Names

2017-10-14 Thread JIRA

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

Stig Rohde Døssing resolved STORM-2775.
---
   Resolution: Fixed
Fix Version/s: 1.1.2
   1.2.0

> Improve KafkaPartition Metric Names
> ---
>
> Key: STORM-2775
> URL: https://issues.apache.org/jira/browse/STORM-2775
> Project: Apache Storm
>  Issue Type: Improvement
>  Components: storm-kafka
>Affects Versions: 1.1.2
>Reporter: Kevin Conaway
>Assignee: Kevin Conaway
>  Labels: pull-request-available
> Fix For: 2.0.0, 1.2.0, 1.1.2
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> The _storm-kafka_ `KafkaSpout` emits a metric group called _kafkaPartition_
> These metric names are prefixed with 
> {noformat}
> Partition{host=some.broker.host.mycompany.com:9092,-topic=some/topic/name,-partition=40}
> {noformat}
> Which makes for ugly, difficult to discover metrics on systems like Graphite.
> The metric prefix should match the metrics emitted by the _kafkaOffset_ 
> metric group that look like:
> _topicName/partition__



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


[jira] [Updated] (STORM-2546) Kafka spout can stall / get stuck due to edge case with failing tuples

2017-10-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated STORM-2546:
--
Labels: pull-request-available  (was: )

> Kafka spout can stall / get stuck due to edge case with failing tuples
> --
>
> Key: STORM-2546
> URL: https://issues.apache.org/jira/browse/STORM-2546
> Project: Apache Storm
>  Issue Type: Bug
>  Components: storm-kafka-client
>Affects Versions: 2.0.0, 1.x
>Reporter: Prasanna Ranganathan
>Assignee: Stig Rohde Døssing
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The mechanism for replaying a failed tuple involves seeking the kafka 
> consumer to the failing offset and then re-emitting it into the topology. A 
> tuple, when emitted the first time, will have an entry created in 
> OffsetManager. This entry will be removed only after the tuple is 
> successfully acknowledged and its offset successfully committed. Till then, 
> commits for offsets beyond the failing offset for that TopicPartition will be 
> blocked.
> It is possible that when the spout seeks the consumer to the failing offset, 
> the corresponding kafka message is not returned in the poll response. This 
> can happen due to that offset being deleted or compacted away. In this 
> scenario that partition will be blocked from committing and progressing.



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