Skip to content

Commit

Permalink
Update doc (#231)
Browse files Browse the repository at this point in the history
* update doc

* typo
  • Loading branch information
imnutz authored Jun 24, 2022
1 parent 21ed120 commit b922c5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ If the database does not exist and you have permissions, it will be created for

* **config.database** : String (required) - database name, must consist only of lower case letters, numbers, and `_`, must be longer than or equal to 3 chars, and the total length of database and table must be shorter than 129 chars.
* **config.writeKey** : String (required) - write-only key, get it from your [user profile](console.treasuredata.com/users/current)
* **config.pathname** : String (optional) - path to append after host. Default: `/js/v3/events`
* **config.pathname** : String (optional) - path to append after host. Default: `/js/v3/event`
* **config.host** : String (optional) - host to which events get sent. Default: `in.treasuredata.com`
* **config.development** : Boolean (optional) - triggers development mode which causes requests to be logged and not get sent. Default: `false`
* **config.logging** : Boolean (optional) - enable or disable logging. Default: `true`
Expand Down
5 changes: 4 additions & 1 deletion STREAMING_INGESTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Configurations

We introduce new option to opt-in our new JavaScript endpoint, named `useNewJavaScriptEndpoint`, which has value of `true` or `false`.
We introduce a new option to opt-in our new JavaScript endpoint, named `useNewJavaScriptEndpoint`, which has a `true` or `false` value.
When you enable this option, you need to change the `host` configuration as well, so that it will point to our new endpoint

:information_source: This new feature won't impact the server side cookie and the personalization features
Expand All @@ -21,6 +21,9 @@ The `host` configuration will have the following values, depending on which envi
- EU01 Region
- **eu01.records.in.treasuredata.com**

When you opt-out of this feature by either setting the `useNewJavaScriptEndpoint` to `false` or not setting it, please make sure that
you update the host to the old configuration, as mentioned in [this section](README.md#treasureconfig)

Example:

```javascript
Expand Down

0 comments on commit b922c5b

Please sign in to comment.