Skip to content

Commit

Permalink
Fixed the typo (apache#6167)
Browse files Browse the repository at this point in the history
### Motivation
Fix typo in schema documentation.
  • Loading branch information
abhilashmandaliya authored Feb 1, 2020
1 parent b924bad commit b8760d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site2/docs/functions-develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ For complete code, see [here](https://github.com/apache/pulsar/blob/master/pulsa
<!--END_DOCUSAURUS_CODE_TABS-->

### User config
When you run or update Pulsar Functions created using SDK, you can pass arbitrary key/values to them with the command line with the `--userConfig` flag. Key/values must be specified as JSON. The following function creation command passes a user configured key/value to a function.
When you run or update Pulsar Functions created using SDK, you can pass arbitrary key/values to them with the command line with the `--user-config` flag. Key/values must be specified as JSON. The following function creation command passes a user configured key/value to a function.

```bash
$ bin/pulsar-admin functions create \
Expand Down
2 changes: 1 addition & 1 deletion site2/docs/schema-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Producer<User> producer = client.newProducer(JSONSchema.of(User.class))
.topic(topic)
.create();
User user = new User(“Tom”, 28);
producer.send(User);
producer.send(user);
```

### Summary
Expand Down

0 comments on commit b8760d5

Please sign in to comment.