You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "raymondBourges (via GitHub)" <gi...@apache.org> on 2023/04/24 10:20:10 UTC

[GitHub] [pulsar-site] raymondBourges opened a new pull request, #536: Update io-debezium-source.md

raymondBourges opened a new pull request, #536:
URL: https://github.com/apache/pulsar-site/pull/536

   Without "topicName" in YAML definition file "bin/pulsar-admin source localrun --source-config-file debezium-postgres-source-config.yaml" exits with a "Topic name cannot be null" error.
   
   Note : I just can give topic name online (without using a YAML file) within --sourceConfig parameter of bin/function-localrunner command but this command is not present in this documentation. Here, just bin/pulsar-admin is documented but it doesn't accept topic name as parameter.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local preview screenshots (run `./preview.sh` at root path) to your PR description, or else your PR might not get merged. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] Anonymitaet commented on pull request #536: Update io-debezium-source.md

Posted by "Anonymitaet (via GitHub)" <gi...@apache.org>.
Anonymitaet commented on PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#issuecomment-1520948182

   @liangyepianzhou Could you please review this PR from a technical perspective? TIA!


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] tisonkun commented on a diff in pull request #536: Update io-debezium-source.md

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on code in PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#discussion_r1198472020


##########
versioned_docs/version-2.11.x/io-debezium-source.md:
##########
@@ -268,6 +268,7 @@ You can use one of the following methods to create a configuration file.
   inputs: [ "debezium-postgres-topic" ]
   archive: "connectors/pulsar-io-debezium-postgres-@pulsar:version@.nar"
   parallelism: 1
+  topicName: "public/default/log-debezium-postgres"

Review Comment:
   It seems the tenant and namespace part can be auto appended so both is correct?



-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] github-actions[bot] commented on pull request #536: Update io-debezium-source.md

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#issuecomment-1519856278

   @raymondBourges Please add the following content to your PR description and select a checkbox:
   ```
   - [ ] `doc` <!-- Your PR contains doc changes -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] tisonkun closed pull request #536: Update io-debezium-source.md

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun closed pull request #536: Update io-debezium-source.md
URL: https://github.com/apache/pulsar-site/pull/536


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] tisonkun commented on pull request #536: Update io-debezium-source.md

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#issuecomment-1564411193

   > because it is the only one I tested
   
   My suggestion is that if you can share how you test it. I'm not familiar with this part so I cannot confidently merging your patch without a technical review from other committers or find my time to verify it. You can wait for that happens or share how you test it so that I'm confident that your patch is correct.


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] tisonkun commented on pull request #536: Update io-debezium-source.md

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#issuecomment-1562175140

   We actually have a similar PR for this topic - https://github.com/apache/pulsar-site/pull/388.
   
   @raymondBourges 


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] raymondBourges commented on pull request #536: Update io-debezium-source.md

Posted by "raymondBourges (via GitHub)" <gi...@apache.org>.
raymondBourges commented on PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#issuecomment-1563936953

   @tisonkun,
   "to verify your change" --> I'm not sure what you expect from me.
   I just wanted to contribute to the documentation where in https://pulsar.apache.org/docs/2.11.x/io-debezium-source/#example-of-postgresql the example that is given does not work since " topicName" is required.
   This is to prevent other Pulsar users from wasting time understanding why the CDC doesn't work if you strictly follow the documentation.
   Note that I only contributed on the postgres part because it is the only one I tested, but it is probably necessary to have a look to the examples for the other bases.
   Also note that the example given by Xiangying is correct but does not correspond to what is in the documentation.
   Probably the best solution is to have the documentation pointing to this example but I don't know how to do that.
   Thanks


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar-site] liangyepianzhou commented on a diff in pull request #536: Update io-debezium-source.md

Posted by "liangyepianzhou (via GitHub)" <gi...@apache.org>.
liangyepianzhou commented on code in PR #536:
URL: https://github.com/apache/pulsar-site/pull/536#discussion_r1177234178


##########
versioned_docs/version-2.11.x/io-debezium-source.md:
##########
@@ -268,6 +268,7 @@ You can use one of the following methods to create a configuration file.
   inputs: [ "debezium-postgres-topic" ]
   archive: "connectors/pulsar-io-debezium-postgres-@pulsar:version@.nar"
   parallelism: 1
+  topicName: "public/default/log-debezium-postgres"

Review Comment:
   Do you verify it?
   I see the configuration in Pulsar just "log-debezium-postgres" [here](https://github.com/apache/pulsar/blob/master/pulsar-io/debezium/postgres/src/main/resources/debezium-postgres-source-config.yaml#L35).
   
   <img width="731" alt="image" src="https://user-images.githubusercontent.com/55571188/234445547-061ffa96-bcca-4556-8007-8cf4ae57184b.png">



-- 
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: commits-unsubscribe@pulsar.apache.org

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