[
https://issues.apache.org/jira/browse/IGNITE-19910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shishkov updated IGNITE-19910:
-----------------------------------
Description:
Currently, in CDC through Kafka applications, there is single
{{kafkaRequestTimeout}} which is used for all Kafka related operations instead
of built-in timeouts of Kafka clients.
Places where {{kafkaRequestTimeout}} is used:
*In ignite-cdc.sh* ({{IgniteToKafkaCdcStreamer}}):
# Waiting for {{KafkaProducer#send}} future to finish.
*In kafka-to-ignite.sh:*
# {{KafkaToIgniteCdcStreamerApplier}} as parameter of methods:
## {{KafkaConsumer#poll}}
## {{KafkaConsumer#commitSync}}
# {{KafkaToIgniteMetadataUpdater}} as parameter of methods.
## {{KafkaConsumer#poll}}
## {{KafkaConsumer#endOffsets}}
## {{KafkaConsumer#partitionsFor}}
was:
Currently, there are two separate timeouts for CDC applications, which are used
for kafka clients:
*In ignite-cdc.sh:* ({{IgniteToKafkaCdcStreamer}}):
# Waiting for {{KafkaProducer#send}} future to finish.
*In kafka-to-ignite.sh:*
# {{KafkaToIgniteCdcStreamerApplier}} as parameter of methods
## {{KafkaConsumer#poll}}
## {{KafkaConsumer#commitSync}}
# {{KafkaToIgniteMetadataUpdater}}
## {{KafkaConsumer#poll}}
## {{KafkaConsumer#endOffsets}}
## {{KafkaConsumer#partitionsFor}}
> CDC through Kafka: refactor timeouts
> ------------------------------------
>
> Key: IGNITE-19910
> URL: https://issues.apache.org/jira/browse/IGNITE-19910
> Project: Ignite
> Issue Type: Task
> Components: extensions
> Reporter: Ilya Shishkov
> Priority: Minor
> Labels: IEP-59, ise
>
> Currently, in CDC through Kafka applications, there is single
> {{kafkaRequestTimeout}} which is used for all Kafka related operations
> instead of built-in timeouts of Kafka clients.
> Places where {{kafkaRequestTimeout}} is used:
> *In ignite-cdc.sh* ({{IgniteToKafkaCdcStreamer}}):
> # Waiting for {{KafkaProducer#send}} future to finish.
> *In kafka-to-ignite.sh:*
> # {{KafkaToIgniteCdcStreamerApplier}} as parameter of methods:
> ## {{KafkaConsumer#poll}}
> ## {{KafkaConsumer#commitSync}}
> # {{KafkaToIgniteMetadataUpdater}} as parameter of methods.
> ## {{KafkaConsumer#poll}}
> ## {{KafkaConsumer#endOffsets}}
> ## {{KafkaConsumer#partitionsFor}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)