File tree Expand file tree Collapse file tree 15 files changed +19
-19
lines changed
flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka
flink-connector-kafka/src/test/java/org/apache/flink
streaming/connectors/kafka Expand file tree Collapse file tree 15 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 19
19
package org .apache .flink .tests .util .kafka ;
20
20
21
21
import org .apache .flink .connector .kafka .sink .testutils .KafkaSinkExternalContextFactory ;
22
+ import org .apache .flink .connector .kafka .testutils .DockerImageVersions ;
22
23
import org .apache .flink .connector .testframe .container .FlinkContainerTestEnvironment ;
23
24
import org .apache .flink .connector .testframe .external .DefaultContainerizedExternalSystem ;
24
25
import org .apache .flink .connector .testframe .junit .annotations .TestContext ;
28
29
import org .apache .flink .connector .testframe .testsuites .SinkTestSuiteBase ;
29
30
import org .apache .flink .streaming .api .CheckpointingMode ;
30
31
import org .apache .flink .test .resources .ResourceTestUtils ;
31
- import org .apache .flink .util .DockerImageVersions ;
32
32
33
33
import org .testcontainers .containers .KafkaContainer ;
34
34
import org .testcontainers .utility .DockerImageName ;
Original file line number Diff line number Diff line change 18
18
19
19
package org .apache .flink .tests .util .kafka ;
20
20
21
+ import org .apache .flink .connector .kafka .testutils .DockerImageVersions ;
21
22
import org .apache .flink .connector .kafka .testutils .KafkaSourceExternalContextFactory ;
22
23
import org .apache .flink .connector .testframe .container .FlinkContainerTestEnvironment ;
23
24
import org .apache .flink .connector .testframe .external .DefaultContainerizedExternalSystem ;
28
29
import org .apache .flink .connector .testframe .testsuites .SourceTestSuiteBase ;
29
30
import org .apache .flink .streaming .api .CheckpointingMode ;
30
31
import org .apache .flink .test .resources .ResourceTestUtils ;
31
- import org .apache .flink .util .DockerImageVersions ;
32
32
33
33
import org .testcontainers .containers .KafkaContainer ;
34
34
import org .testcontainers .utility .DockerImageName ;
Original file line number Diff line number Diff line change 19
19
package org .apache .flink .tests .util .kafka ;
20
20
21
21
import org .apache .flink .api .common .time .Deadline ;
22
+ import org .apache .flink .connector .kafka .testutils .DockerImageVersions ;
22
23
import org .apache .flink .connector .testframe .container .FlinkContainers ;
23
24
import org .apache .flink .connector .testframe .container .TestcontainersSettings ;
24
25
import org .apache .flink .test .resources .ResourceTestUtils ;
25
26
import org .apache .flink .test .util .SQLJobSubmission ;
26
27
import org .apache .flink .tests .util .kafka .containers .SchemaRegistryContainer ;
27
- import org .apache .flink .tests .util .kafka .test .DockerImageVersions ;
28
28
29
29
import io .confluent .kafka .schemaregistry .avro .AvroSchema ;
30
30
import io .confluent .kafka .schemaregistry .client .CachedSchemaRegistryClient ;
Original file line number Diff line number Diff line change 62
62
import java .util .UUID ;
63
63
import java .util .stream .Collectors ;
64
64
65
+ import static org .apache .flink .connector .kafka .testutils .DockerImageVersions .KAFKA ;
65
66
import static org .apache .flink .connector .kafka .testutils .KafkaUtil .createKafkaContainer ;
66
- import static org .apache .flink .util .DockerImageVersions .KAFKA ;
67
67
import static org .assertj .core .api .Assertions .assertThat ;
68
68
69
69
/** smoke test for the kafka connectors. */
Original file line number Diff line number Diff line change 47
47
import java .util .function .Consumer ;
48
48
import java .util .stream .Collectors ;
49
49
50
+ import static org .apache .flink .connector .kafka .testutils .DockerImageVersions .KAFKA ;
50
51
import static org .apache .flink .connector .kafka .testutils .KafkaUtil .createKafkaContainer ;
51
- import static org .apache .flink .util .DockerImageVersions .KAFKA ;
52
52
import static org .assertj .core .api .Assertions .assertThat ;
53
53
import static org .assertj .core .api .Assertions .assertThatThrownBy ;
54
54
Original file line number Diff line number Diff line change 32
32
import org .apache .flink .configuration .StateBackendOptions ;
33
33
import org .apache .flink .connector .base .DeliveryGuarantee ;
34
34
import org .apache .flink .connector .kafka .sink .testutils .KafkaSinkExternalContextFactory ;
35
+ import org .apache .flink .connector .kafka .testutils .DockerImageVersions ;
35
36
import org .apache .flink .connector .kafka .testutils .KafkaUtil ;
36
37
import org .apache .flink .connector .testframe .environment .MiniClusterTestEnvironment ;
37
38
import org .apache .flink .connector .testframe .external .DefaultContainerizedExternalSystem ;
57
58
import org .apache .flink .test .util .TestUtils ;
58
59
import org .apache .flink .testutils .junit .SharedObjects ;
59
60
import org .apache .flink .testutils .junit .SharedReference ;
60
- import org .apache .flink .util .DockerImageVersions ;
61
61
import org .apache .flink .util .TestLogger ;
62
62
63
63
import org .apache .kafka .clients .CommonClientConfigs ;
101
101
import java .util .stream .Collectors ;
102
102
import java .util .stream .LongStream ;
103
103
104
+ import static org .apache .flink .connector .kafka .testutils .DockerImageVersions .KAFKA ;
104
105
import static org .apache .flink .connector .kafka .testutils .KafkaUtil .createKafkaContainer ;
105
- import static org .apache .flink .util .DockerImageVersions .KAFKA ;
106
106
import static org .assertj .core .api .Assertions .assertThat ;
107
107
import static org .assertj .core .api .Assertions .fail ;
108
108
Original file line number Diff line number Diff line change 44
44
import static org .apache .flink .connector .kafka .sink .KafkaTransactionLog .TransactionState .Ongoing ;
45
45
import static org .apache .flink .connector .kafka .sink .KafkaTransactionLog .TransactionState .PrepareAbort ;
46
46
import static org .apache .flink .connector .kafka .sink .KafkaTransactionLog .TransactionState .PrepareCommit ;
47
+ import static org .apache .flink .connector .kafka .testutils .DockerImageVersions .KAFKA ;
47
48
import static org .apache .flink .connector .kafka .testutils .KafkaUtil .createKafkaContainer ;
48
- import static org .apache .flink .util .DockerImageVersions .KAFKA ;
49
49
import static org .assertj .core .api .Assertions .assertThat ;
50
50
51
51
/** Tests for {@link KafkaTransactionLog} to retrieve abortable Kafka transactions. */
Original file line number Diff line number Diff line change 69
69
import java .util .function .Consumer ;
70
70
import java .util .stream .IntStream ;
71
71
72
+ import static org .apache .flink .connector .kafka .testutils .DockerImageVersions .KAFKA ;
72
73
import static org .apache .flink .connector .kafka .testutils .KafkaUtil .createKafkaContainer ;
73
74
import static org .apache .flink .connector .kafka .testutils .KafkaUtil .drainAllRecordsFromTopic ;
74
- import static org .apache .flink .util .DockerImageVersions .KAFKA ;
75
75
import static org .assertj .core .api .Assertions .assertThat ;
76
76
import static org .assertj .core .api .AssertionsForClassTypes .assertThatCode ;
77
77
Original file line number Diff line number Diff line change 29
29
import org .apache .flink .configuration .Configuration ;
30
30
import org .apache .flink .connector .kafka .source .enumerator .initializer .OffsetsInitializer ;
31
31
import org .apache .flink .connector .kafka .source .reader .deserializer .KafkaRecordDeserializationSchema ;
32
+ import org .apache .flink .connector .kafka .testutils .DockerImageVersions ;
32
33
import org .apache .flink .connector .kafka .testutils .KafkaSourceExternalContextFactory ;
33
34
import org .apache .flink .connector .kafka .testutils .KafkaSourceTestEnv ;
34
35
import org .apache .flink .connector .testframe .environment .MiniClusterTestEnvironment ;
48
49
import org .apache .flink .streaming .runtime .streamrecord .StreamRecord ;
49
50
import org .apache .flink .util .CloseableIterator ;
50
51
import org .apache .flink .util .Collector ;
51
- import org .apache .flink .util .DockerImageVersions ;
52
52
53
53
import org .apache .kafka .clients .consumer .ConsumerRecord ;
54
54
import org .apache .kafka .clients .producer .ProducerRecord ;
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- package org .apache .flink .tests . util . kafka .test ;
18
+ package org .apache .flink .connector . kafka .testutils ;
19
19
20
20
/**
21
21
* Utility class for defining the image names and versions of Docker containers used during the Java
24
24
*/
25
25
public class DockerImageVersions {
26
26
27
- public static final String KAFKA = "confluentinc/cp-kafka:7.2.2 " ;
27
+ public static final String KAFKA = "confluentinc/cp-kafka:7.4.4 " ;
28
28
29
- public static final String SCHEMA_REGISTRY = "confluentinc/cp-schema-registry:7.2.2" ;
29
+ public static final String SCHEMA_REGISTRY = "confluentinc/cp-schema-registry:7.4.4" ;
30
+
31
+ public static final String ZOOKEEPER = "zookeeper:3.4.14" ;
30
32
}
You can’t perform that action at this time.
0 commit comments