Formatting changes to templates#1667
Conversation
rszper
left a comment
There was a problem hiding this comment.
Thank you for making these updates. It's going to look much better.
v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToVectorEmbeddings.java
Outdated
Show resolved
Hide resolved
v2/common/src/main/java/com/google/cloud/teleport/v2/options/CommonTemplateOptions.java
Outdated
Show resolved
Hide resolved
v2/common/src/main/java/com/google/cloud/teleport/v2/options/WindowedFilenamePolicyOptions.java
Outdated
Show resolved
Hide resolved
v2/common/src/main/java/com/google/cloud/teleport/v2/options/WindowedFilenamePolicyOptions.java
Outdated
Show resolved
Hide resolved
...eam-to-spanner/src/main/java/com/google/cloud/teleport/v2/templates/DataStreamToSpanner.java
Outdated
Show resolved
Hide resolved
.../main/java/com/google/cloud/teleport/v2/elasticsearch/options/ElasticsearchWriteOptions.java
Outdated
Show resolved
Hide resolved
.../main/java/com/google/cloud/teleport/v2/elasticsearch/options/ElasticsearchWriteOptions.java
Outdated
Show resolved
Hide resolved
.../main/java/com/google/cloud/teleport/v2/elasticsearch/options/ElasticsearchWriteOptions.java
Outdated
Show resolved
Hide resolved
...a-common/src/main/java/com/google/cloud/teleport/v2/kafka/options/SchemaRegistryOptions.java
Outdated
Show resolved
Hide resolved
v2/kafka-to-pubsub/src/main/java/com/google/cloud/teleport/v2/options/KafkaToPubsubOptions.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Rebecca Szper <98840847+rszper@users.noreply.github.com>
|
@rszper Please confirm if these changes are good ? If yes, I will proceed to generate readme docs. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1667 +/- ##
============================================
+ Coverage 45.56% 45.96% +0.39%
- Complexity 3721 4124 +403
============================================
Files 847 851 +4
Lines 50169 50805 +636
Branches 5273 5343 +70
============================================
+ Hits 22862 23351 +489
- Misses 25632 25760 +128
- Partials 1675 1694 +19
|
bharadwaj-aditya
left a comment
There was a problem hiding this comment.
Comment for Spanner templates - Minor comment on the import pipeline. rest looks fine.
ron-gal
left a comment
There was a problem hiding this comment.
Minor format comments, otherwise LGTM for bigtable changes
v2/googlecloud-to-googlecloud/README_Bigtable_Change_Streams_to_BigQuery.md
Outdated
Show resolved
Hide resolved
...rc/main/java/com/google/cloud/teleport/v2/options/BigtableChangeStreamToBigQueryOptions.java
Outdated
Show resolved
Hide resolved
rszper
left a comment
There was a problem hiding this comment.
It looks like there's a lot of repetition, so the edits that I suggested should be applied to the later files as well.
v2/googlecloud-to-elasticsearch/README_GCS_to_Elasticsearch_Xlang.md
Outdated
Show resolved
Hide resolved
v2/googlecloud-to-elasticsearch/README_GCS_to_Elasticsearch_Xlang.md
Outdated
Show resolved
Hide resolved
v2/googlecloud-to-elasticsearch/README_GCS_to_Elasticsearch_Xlang.md
Outdated
Show resolved
Hide resolved
v2/googlecloud-to-elasticsearch/README_GCS_to_Elasticsearch_Xlang.md
Outdated
Show resolved
Hide resolved
Polber
left a comment
There was a problem hiding this comment.
LGTM so long as other comments are addressed
v2/kafka-common/src/main/java/com/google/cloud/teleport/v2/kafka/options/KafkaReadOptions.java
Show resolved
Hide resolved
Co-authored-by: Rebecca Szper <98840847+rszper@users.noreply.github.com>
0daaae1
e516e6b to
c173f1e
Compare
| outputDirectory = "<outputDirectory>" | ||
| # sourceDbDialect = "MYSQL" | ||
| # jdbcDriverJars = "gs://your-bucket/driver_jar1.jar,gs://your-bucket/driver_jar2.jar" | ||
| # jdbcDriverJars = "" |
There was a problem hiding this comment.
Could we add "<gsPathToDriverJars>" here?
| # numPartitions = "0" | ||
| # spannerHost = "https://batch-spanner.googleapis.com" | ||
| # maxConnections = "-1" | ||
| # maxConnections = "0" |
There was a problem hiding this comment.
Generally -1 is preferred (which is also the default). -1 indicates no limits on connections. The user can configure a non-negaitve value in case they need to reduce the number of active connections per worker.
Fixed formatting.