You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2023/03/29 03:12:06 UTC

[GitHub] [incubator-paimon] JingsongLi opened a new issue, #754: [Feature] Allow tuning of transaction timeout

JingsongLi opened a new issue, #754:
URL: https://github.com/apache/incubator-paimon/issues/754

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.
   
   
   ### Motivation
   
   Paimon sets the producer transaction timeout to 1hr. The maximum allowed by a kafka broker is 15 mins. This causes exceptions to be thrown and the job dies when kafka log is enabled on a table. 
   
   ### Solution
   
   From Alex Sorokoumov:
   
   Yeah! I think it would be generally useful to be able to override Paimon defaults on the Catalog level. In fact, the Paimon Catalog already overrides Table's connector and path fields using its type and warehouse fields. We would extend that to provide arbitrary fields. For example, the table below gets log.system and kafka options from the Catalog:
   
   CREATE CATALOG table_store_catalog WITH (
       'type'='table-store',
       'warehouse'='s3://my-bucket/table-store',
       'log.system' = 'kafka',
       'kafka.bootstrap.servers' = '<list of kafka brokers>',
       'kafka.transaction.timeout.ms' = '900000',
    );
   
   USE CATALOG table_store_catalog;
   
   CREATE TABLE word_count (
       word STRING PRIMARY KEY NOT ENFORCED,
       cnt BIGINT
   ) WITH (
       'kafka.topic' = 'word_count_log'
   );
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-paimon] JingsongLi commented on issue #754: [Feature] Allow tuning of transaction timeout

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on issue #754:
URL: https://github.com/apache/incubator-paimon/issues/754#issuecomment-1487885896

   https://issues.apache.org/jira/browse/FLINK-30419


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-paimon] JingsongLi closed issue #754: [Feature] Allow tuning of transaction timeout

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #754: [Feature] Allow tuning of transaction timeout
URL: https://github.com/apache/incubator-paimon/issues/754


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-paimon] legendtkl commented on issue #754: [Feature] Allow tuning of transaction timeout

Posted by "legendtkl (via GitHub)" <gi...@apache.org>.
legendtkl commented on issue #754:
URL: https://github.com/apache/incubator-paimon/issues/754#issuecomment-1487962873

   I would like to work on this. 
   
   Would you assign it to me ?@JingsongLi 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org