[ 
https://issues.apache.org/jira/browse/FLINK-13619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925343#comment-16925343
 ] 

Piotr Nowojski edited comment on FLINK-13619 at 9/9/19 4:05 AM:
----------------------------------------------------------------

By a nature of this test, it's restoring from 0.11 version, it can not generate 
it's own resources.  As it's stated in the java doc:

{code:java}
        @Override
        public String getOperatorSnapshotPath(MigrationVersion version) {
                return 
"src/test/resources/kafka-0.11-migration-kafka-producer-flink-" + version + 
"-snapshot";
        }

        /**
         * This test depends on the resources generated by {@link 
FlinkKafkaProducer011MigrationTest}.
         * Run {@link FlinkKafkaProducer011MigrationTest#writeSnapshot()} and 
copy the created resource
         * file to the path specified by the {@link 
#getOperatorSnapshotPath(MigrationVersion)} method.
         */
{code}

Name {{kafka-migration-kafka-producer-flink.}} is used for the migration tests 
between Flink versions, while keeping the same Kafka version.


was (Author: pnowojski):
By a nature of this test, it's restoring from 0.11 version, it can not generate 
it's own resources.  As it's stated in the java doc:

{code:java}
        @Override
        public String getOperatorSnapshotPath(MigrationVersion version) {
                return 
"src/test/resources/kafka-0.11-migration-kafka-producer-flink-" + version + 
"-snapshot";
        }

        /**
         * This test depends on the resources generated by {@link 
FlinkKafkaProducer011MigrationTest}.
         * Run {@link FlinkKafkaProducer011MigrationTest#writeSnapshot()} and 
copy the created resource
         * file to the path specified by the {@link 
#getOperatorSnapshotPath(MigrationVersion)} method.
         */
{code}

Name {{kafka-migration-kafka-producer-flink.}} is reserved for the migration 
tests between Flink versions, while keeping the same Kafka version.

> Update FlinkKafkaProducerMigrationOperatorTest to restore from 1.9 savepoint
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-13619
>                 URL: https://issues.apache.org/jira/browse/FLINK-13619
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Kafka, Tests
>    Affects Versions: 1.10.0
>            Reporter: Till Rohrmann
>            Assignee: vinoyang
>            Priority: Blocker
>             Fix For: 1.10.0
>
>
> Update {{FlinkKafkaProducerMigrationOperatorTest}} to restore from 1.9 
> savepoint.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to