Creating Buckets
Creating a Metadata Bucket
For all Functions, a common metadata bucket can be used.
To create a metadata bucket, proceed as follows:
-
From the Couchbase Web Console > Buckets > click ADD BUCKET.
-
In the Add Data Bucket screen:
-
Name: Enter metadata as the name for the bucket.
-
Memory Quota: For a server node, specify the memory quota for the metadata bucket in MB.
-
For Bucket Type, select either Couchbase or Memcached option. For Eventing Service, the Ephemeral type of buckets are not supported.
-
-
In the Advanced bucket settings pane, from the Flush pane, select Enable. If the flush option is enabled when the bucket gets flushed, all items in the bucket are removed.
-
For all the other Advanced bucket settings options, use their default values.
-
Click Add Bucket. This step completes the metadata bucket creation process.
Creating a Source Bucket
To create a source bucket, proceed as follows:
-
From the Couchbase Web Console > Buckets > click ADD BUCKET.
-
In the Add Data Bucket screen:
-
Name: Enter source as the name for the bucket.
-
Memory Quota: For a server node, specify the memory quota for the source bucket in MB.
-
For Bucket Type, select either Couchbase or Memcached option. For the Eventing Service, the Ephemeral type of buckets are not supported.
-
-
In the Advanced bucket settings pane, from the Flush pane, select Enable. If the flush option is enabled, all items in the bucket are removed when the bucket gets flushed.
-
For all the other Advanced bucket settings options, use their default values.
-
Click Add Bucket. This step completes the source bucket creation process.
For the Examples sections, follow the above procedure to create other buckets such as users, target, flagged_transactions, and transactions buckets. |