project renamed to wson
This commit is contained in:
71 files changed
+462
-494
No files matched your search
@@ -0,0 +1,4 @@
|
||||
organization := (organization in LocalRootProject).value
|
||||
name := "test-utils"
|
||||
version := (version in LocalRootProject).value
|
||||
skip in publish := true
|
||||
@@ -0,0 +1,16 @@
|
||||
package net.woggioni.wson.test;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
public class JsonBomb {
|
||||
public static InputStream infiniteJson() {
|
||||
return new InputStream() {
|
||||
int index = 0;
|
||||
final String monomer = "{\"key\":[";
|
||||
@Override
|
||||
public int read() {
|
||||
return monomer.charAt(index++ % monomer.length());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
handlers=java.util.logging.ConsoleHandler
|
||||
config=
|
||||
sun.net.www.protocol.http.HttpURLConnection.handlers=java.util.logging.ConsoleHandler
|
||||
#sun.net.www.protocol.http.HttpURLConnection.level=ALL
|
||||
|
||||
java.util.logging.FileHandler.level = WARNING
|
||||
java.util.logging.FileHandler.filter =
|
||||
java.util.logging.FileHandler.formatter =
|
||||
java.util.logging.FileHandler.encoding =
|
||||
java.util.logging.FileHandler.limit =
|
||||
java.util.logging.FileHandler.count =
|
||||
java.util.logging.FileHandler.append = false
|
||||
java.util.logging.FileHandler.pattern = log.%u.%g.txt
|
||||
|
||||
#java.util.logging.ConsoleHandler.level = ALL
|
||||
java.util.logging.ConsoleHandler.filter =
|
||||
java.util.logging.ConsoleHandler.formatter =
|
||||
java.util.logging.ConsoleHandler.encoding =
|
||||
|
||||
java.util.logging.StreamHandler.level = WARNING
|
||||
java.util.logging.StreamHandler.filter =
|
||||
java.util.logging.StreamHandler.formatter =
|
||||
java.util.logging.StreamHandler.encoding =
|
||||
|
||||
java.util.logging.SocketHandler.level = WARNING
|
||||
java.util.logging.SocketHandler.filter =
|
||||
java.util.logging.SocketHandler.formatter =
|
||||
java.util.logging.SocketHandler.encoding =
|
||||
java.util.logging.SocketHandler.host =
|
||||
java.util.logging.SocketHandler.port =
|
||||
|
||||
java.util.logging.MemoryHandler.level = WARNING
|
||||
java.util.logging.MemoryHandler.filter =
|
||||
java.util.logging.MemoryHandler.size =
|
||||
java.util.logging.MemoryHandler.push =
|
||||
java.util.logging.MemoryHandler.target =
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"widget": {
|
||||
"debug": "on",
|
||||
"window": {
|
||||
"parent" : null,
|
||||
"title": "Sample Konfabulator Widget",
|
||||
"name": "main_window",
|
||||
"width": 500,
|
||||
"height": 501
|
||||
},
|
||||
"image": {
|
||||
"src": "Images/Sun.png",
|
||||
"name": "sun1",
|
||||
"hOffset": 250,
|
||||
"vOffset": 250,
|
||||
"alignment": "center",
|
||||
"tags" : ["Ireland", "Amazon", "development"],
|
||||
"monochromatic" : false
|
||||
},
|
||||
"text": {
|
||||
"data": "Click Here",
|
||||
"size": 36,
|
||||
"style": "bold",
|
||||
"name": "text1",
|
||||
"hOffset": 250,
|
||||
"vOffset": 100,
|
||||
"alignment": "center",
|
||||
"onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,318 @@
|
||||
[
|
||||
{
|
||||
"id": 168697,
|
||||
"date": "2018-09-06T09:30:53",
|
||||
"date_gmt": "2018-09-06T16:30:53",
|
||||
"guid": {
|
||||
"rendered": "https://www.sitepoint.com/?p=168697"
|
||||
},
|
||||
"modified": "2018-09-04T21:31:02",
|
||||
"modified_gmt": "2018-09-05T04:31:02",
|
||||
"slug": "the-8-best-wordpress-themes-for-small-business-websites",
|
||||
"status": "publish",
|
||||
"type": "post",
|
||||
"link": "https://www.sitepoint.com/the-8-best-wordpress-themes-for-small-business-websites/",
|
||||
"title": {
|
||||
"rendered": "The 8 Best WordPress Themes for Small Business Websites"
|
||||
},
|
||||
"content": {
|
||||
"rendered": "<p class=\"wp-special\"><em>This article was created in partnership with <a href=\"https://bawmedia.com/\" rel=\"nofollow\">BAWMedia</a>. Thank you for supporting the partners who make SitePoint possible.</em></p>\n<p>A well-designed website can serve as a powerful marketing tool. These days, creating one for a small business is not distressing or expensive at all. However, it was just a few short years ago.</p>\n<p>Today, you can take advantage of the features provided by the best WordPress themes. There are special themes for small business-oriented websites. It's not difficult to find a website-building theme that matches a specific business. This can be a startup, a service provider, or some other venture.</p>\n<p>You undoubtedly want nothing but the best business theme, right? Check out those described below. Each possesses functional designs loaded with amazing features. They will help you create a thoroughly engaging website to promote a business.</p>\n<h2>1. <a href=\"http://themes.muffingroup.com/be/splash/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\">Be Theme</a></h2>\n<p><a href=\"http://themes.muffingroup.com/be/splash/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215231.png\" alt=\"\" width=\"1000\" height=\"481\" class=\"aligncenter size-full wp-image-168702\" /></a></p>\n<p>We’ll start with Be Theme, a responsive, multipurpose WordPress theme that takes every small business need into account with its more than 370 pre-built websites. There's a multiplicity of small business WordPress themes in this pre-built website collection \u2014 each one embedded with the functionality you need to establish an effective online presence, and fully customizable to meet your business and marketing needs.</p>\n<p>The range of business niches covered is impressive, With more pre-built websites being added every month it's destined to become even more so. Web designers like Be Theme because it allows them to create a website for most small business types in as little as four hours.</p>\n<p>Clients appreciate the rapid turnaround they receive and the ease in which changes or additions they have in mind can be accommodated.</p>\n<p>Be Theme, one of the best WordPress themes for small business websites is a ThemeForest top 5 best seller whose core features include easy to work with page-building tools, a multiplicity of design features and options, and great support.</p>\n<h2>2. <a href=\"http://bit.ly/2wxuUpA\" rel=\"nofollow\">Astra</a></h2>\n<p><a href=\"http://bit.ly/2wxuUpA\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215352.jpg\" alt=\"\" width=\"1000\" height=\"491\" class=\"aligncenter size-full wp-image-168703\" /></a></p>\n<p>Astra is fast, fully customizable, and one of the best WordPress themes for business websites as well as for blogs and personal portfolios. Built with SEO in mind, Astra is responsive and WooCommerce ready \u2014 mandatory features in today's online business environment. Its capabilities are easily extendible with premium addons and Astra can be used with most of the popular page builders. This free WP-based theme is definitely worth considering.</p>\n<h2 id=\"\">3. <a href=\"http://bit.ly/2oiQkTS\" rel=\"nofollow\">The100</a></h2>\n<p><a href=\"http://bit.ly/2oiQkTS\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215473.jpg\" alt=\"\" width=\"1000\" height=\"491\" class=\"aligncenter size-full wp-image-168704\" /></a></p>\n<p>A theme selected for WordPress for small businesses can be free or it can be a premium theme requiring an expenditure on your behalf. There are several excellent free themes on the market, and one of them is The100. While it is advertised as having premium-like features, bear in mind that free themes like this one generally can't compete with premium themes. Nevertheless, The100 is an easy-to-use WP theme that features a multiplicity of layouts and plenty of customization options.</p>\n<h2 id=\"\">4. <a href=\"https://undsgn.com/uncode/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\">Uncode \u2013 Creative Multiuse WordPress Theme</a></h2>\n<p><a href=\"https://undsgn.com/uncode/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215604.jpg\" alt=\"\" width=\"1000\" height=\"415\" class=\"aligncenter size-full wp-image-168705\" /></a></p>\n<p>Uncode has proven to be one of the best WordPress themes for business websites. It's a multipurpose theme featuring 30+ homepage concepts designed to get designers and their clients off to a fast start on any small business website. Features include an eLine truncated
|
||||
"protected": false
|
||||
},
|
||||
"excerpt": {
|
||||
"rendered": "<p class=\"wp-special\"><em>This article was created in partnership with <a href=\"https://bawmedia.com/\" rel=\"nofollow\">BAWMedia</a>. Thank you for supporting the partners who make SitePoint possible.</em></p>\n<p>A well-designed website can serve as a powerful marketing tool. These days, creating one for a small business is not distressing or expensive at all. However, it was just a few short years ago.</p>\n<p>Today, you can take advantage of the features provided by the best WordPress themes. There are special themes for small business-oriented websites. It's not difficult to find a website-building theme that matches a specific business. This can be a startup, a service provider, or some other venture.</p>\n<p>You undoubtedly want nothing but the best business theme, right? Check out those described below. Each possesses functional designs loaded with amazing features. They will help you create a thoroughly engaging website to promote a business.</p>\n<h2>1. <a href=\"http://themes.muffingroup.com/be/splash/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\">Be Theme</a></h2>\n<p><a href=\"http://themes.muffingroup.com/be/splash/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215231.png\" alt=\"\" width=\"1000\" height=\"481\" class=\"aligncenter size-full wp-image-168702\" /></a></p>\n<p>We’ll start with Be Theme, a responsive, multipurpose WordPress theme that takes every small business need into account with its more than 370 pre-built websites. There's a multiplicity of small business WordPress themes in this pre-built website collection \u2014 each one embedded with the functionality you need to establish an effective online presence, and fully customizable to meet your business and marketing needs.</p>\n<p>The range of business niches covered is impressive, With more pre-built websites being added every month it's destined to become even more so. Web designers like Be Theme because it allows them to create a website for most small business types in as little as four hours.</p>\n<p>Clients appreciate the rapid turnaround they receive and the ease in which changes or additions they have in mind can be accommodated.</p>\n<p>Be Theme, one of the best WordPress themes for small business websites is a ThemeForest top 5 best seller whose core features include easy to work with page-building tools, a multiplicity of design features and options, and great support.</p>\n<h2>2. <a href=\"http://bit.ly/2wxuUpA\" rel=\"nofollow\">Astra</a></h2>\n<p><a href=\"http://bit.ly/2wxuUpA\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215352.jpg\" alt=\"\" width=\"1000\" height=\"491\" class=\"aligncenter size-full wp-image-168703\" /></a></p>\n<p>Astra is fast, fully customizable, and one of the best WordPress themes for business websites as well as for blogs and personal portfolios. Built with SEO in mind, Astra is responsive and WooCommerce ready \u2014 mandatory features in today's online business environment. Its capabilities are easily extendible with premium addons and Astra can be used with most of the popular page builders. This free WP-based theme is definitely worth considering.</p>\n<h2 id=\"\">3. <a href=\"http://bit.ly/2oiQkTS\" rel=\"nofollow\">The100</a></h2>\n<p><a href=\"http://bit.ly/2oiQkTS\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215473.jpg\" alt=\"\" width=\"1000\" height=\"491\" class=\"aligncenter size-full wp-image-168704\" /></a></p>\n<p>A theme selected for WordPress for small businesses can be free or it can be a premium theme requiring an expenditure on your behalf. There are several excellent free themes on the market, and one of them is The100. While it is advertised as having premium-like features, bear in mind that free themes like this one generally can't compete with premium themes. Nevertheless, The100 is an easy-to-use WP theme that features a multiplicity of layouts and plenty of customization options.</p>\n<h2 id=\"\">4. <a href=\"https://undsgn.com/uncode/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\">Uncode \u2013 Creative Multiuse WordPress Theme</a></h2>\n<p><a href=\"https://undsgn.com/uncode/?utm_source=sitepoint.com&utm_medium=content&utm_campaign=wpstartups18\" rel=\"nofollow\"><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/15361215604.jpg\" alt=\"\" width=\"1000\" height=\"415\" class=\"aligncenter size-full wp-image-168705\" /></a></p>\n<p>Uncode has proven to be one of the best WordPress themes for business websites. It's a multipurpose theme featuring 30+ homepage concepts designed to get designers and their clients off to a fast start on any small business website. Features include an eLine truncated
|
||||
"protected": false
|
||||
},
|
||||
"author": 72596,
|
||||
"featured_media": 168703,
|
||||
"comment_status": "open",
|
||||
"ping_status": "closed",
|
||||
"sticky": false,
|
||||
"template": "",
|
||||
"format": "standard",
|
||||
"meta": [],
|
||||
"categories": [
|
||||
5856,
|
||||
5849
|
||||
],
|
||||
"tags": [
|
||||
11664,
|
||||
9553,
|
||||
6298
|
||||
],
|
||||
"_links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts/168697"
|
||||
}
|
||||
],
|
||||
"collection": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts"
|
||||
}
|
||||
],
|
||||
"about": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/types/post"
|
||||
}
|
||||
],
|
||||
"author": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/users/72596"
|
||||
}
|
||||
],
|
||||
"replies": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/comments?post=168697"
|
||||
}
|
||||
],
|
||||
"version-history": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts/168697/revisions"
|
||||
}
|
||||
],
|
||||
"wp:featuredmedia": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/media/168703"
|
||||
}
|
||||
],
|
||||
"wp:attachment": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/media?parent=168697"
|
||||
}
|
||||
],
|
||||
"wp:term": [
|
||||
{
|
||||
"taxonomy": "category",
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/categories?post=168697"
|
||||
},
|
||||
{
|
||||
"taxonomy": "post_tag",
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/tags?post=168697"
|
||||
}
|
||||
],
|
||||
"curies": [
|
||||
{
|
||||
"name": "wp",
|
||||
"href": "https://api.w.org/{rel}",
|
||||
"templated": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 168397,
|
||||
"date": "2018-09-06T09:30:31",
|
||||
"date_gmt": "2018-09-06T16:30:31",
|
||||
"guid": {
|
||||
"rendered": "https://www.sitepoint.com/?p=168397"
|
||||
},
|
||||
"modified": "2018-09-04T00:20:42",
|
||||
"modified_gmt": "2018-09-04T07:20:42",
|
||||
"slug": "integrating-mongodb-and-amazon-kinesis-for-intelligent-durable-streams",
|
||||
"status": "publish",
|
||||
"type": "post",
|
||||
"link": "https://www.sitepoint.com/integrating-mongodb-and-amazon-kinesis-for-intelligent-durable-streams/",
|
||||
"title": {
|
||||
"rendered": "Integrating MongoDB and Amazon Kinesis for Intelligent, Durable Streams"
|
||||
},
|
||||
"content": {
|
||||
"rendered": "<p class=\"wp-special\"><em>This article was originally published on <a href=\"https://synd.co/2NCzyKk\u200b\" rel=\"canonical\">MongoDB</a>. Thank you for supporting the partners who make SitePoint possible.</em></p>\n<p>You can build your online, operational workloads atop MongoDB and still respond to events in real time by kicking off <a href=\"https://aws.amazon.com/kinesis/\">Amazon Kinesis</a> stream processing actions, using MongoDB Stitch Triggers.</p>\n<p>Let\u2019s look at an example scenario in which a stream of data is being generated as a result of actions users take on a website. We\u2019ll durably store the data and simultaneously feed a Kinesis process to do streaming analytics on something like cart abandonment, product recommendations, or even credit card fraud detection.</p>\n<p>We\u2019ll do this by setting up a Stitch Trigger. When relevant data updates are made in MongoDB, the trigger will use a Stitch Function to call out to AWS Kinesis, as you can see in this architecture diagram:</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536043981image5-d4wtr8tn5c.png\" alt=\"\" width=\"1525\" height=\"844\" class=\"aligncenter size-full wp-image-168426\" /></p>\n<h4 id=\"whatyoullneedtofollowalong\">What you\u2019ll need to follow along</h4>\n<ol>\n<li><strong>An Atlas instance</strong> <br />\nIf you don\u2019t already have an application running on Atlas, you can follow our <a href=\"https://docs.atlas.mongodb.com/getting-started/\">getting started with Atlas guide here</a>. In this example, we\u2019ll be using a database called <em><strong>streamdata</strong></em>, with a collection called <em><strong>clickdata</strong></em> where we\u2019re writing data from our web-based e-commerce application.</li>\n<li><strong>An AWS account and a Kinesis stream</strong> <br />\nIn this example, we\u2019ll use a Kinesis stream to send data downstream to additional applications such as Kinesis Analytics. This is the stream we want to feed our updates into.</li>\n<li><strong>A Stitch application</strong> <br />\nIf you don\u2019t already have a Stitch application, <a href=\"https://cloud.mongodb.com/user#/atlas/login\">log into Atlas</a>, and click <strong>Stitch Apps</strong> from the navigation on the left, then click <strong>Create New Application</strong>.</li>\n</ol>\n<h3 id=\"createacollection\">Create a Collection</h3>\n<p>The first step is to create a database and collection from the Stitch application console. Click <strong>Rules</strong> from the left navigation menu and click the <strong>Add Collection</strong> button. Type <strong>streamdata</strong> for the database and <strong>clickdata</strong> for the collection name. Select the template labeled Users can <strong>only read and write their own data</strong> and provide a field name where we\u2019ll specify the user id.</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536044010image2-51q4gsi7u2.png\" alt=\"Figure 2. Create a collection\" width=\"1999\" height=\"923\" class=\"aligncenter size-full wp-image-168427\" /></p>\n<h3 id=\"configuringstitchtotalktoaws\">Configuring Stitch to Talk to AWS</h3>\n<p>Stitch lets you configure <em>Services</em> to interact with external <a href=\"https://docs.mongodb.com/stitch/reference/partner-services/amazon-service/\">services such as AWS Kinesis</a>. Choose <strong>Services</strong> from the navigation on the left, and click the <strong>Add a Service</strong> button, select the AWS service and set <strong>AWS <a href=\"https://aws.amazon.com/blogs/security/wheres-my-secret-access-key/\">Access Key ID, and Secret Access Key</a></strong>.</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536044038image8-2a9rr3qc4k.png\" alt=\"Figure 3. Service Configuration in Stitch\" width=\"1999\" height=\"1041\" class=\"aligncenter size-full wp-image-168428\" /></p>\n<p><em>Services</em> use <em>Rules</em> to specify what aspect of a service Stitch can use, and how. Add a rule which will enable that service to communicate with Kinesis by clicking the button labeled NEW RULE. Name the rule \u201ckinesis\u201d as we\u2019ll be using this specific rule to enable communication with AWS Kinesis. In the section marked Action, select the API labeled Kinesis and select All Actions.</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536044067image1-h45v2y48z7.gif\" alt=\"Figure 4. Add a rule to enable integration with Kinesis\" width=\"1424\" height=\"746\" class=\"aligncenter size-full wp-image-168429\" /></p>\n<h3 id=\"writeafunctionthatstreamsdocumentsintokinesis\">Write a Function that Streams Documents into Kinesis</h3>\n<p>Now that we have a working AWS service, we can use it to put records into a Kinesis stream. The way we do that in Stitch is with Functions. Let\u2019s set up a <em>putKinesisRecord</em> function.</p>\n<p>Select Functions from the left-hand menu, and click Create New Function. ProviLine truncated
|
||||
"protected": false
|
||||
},
|
||||
"excerpt": {
|
||||
"rendered": "<p class=\"wp-special\"><em>This article was originally published on <a href=\"https://synd.co/2NCzyKk\u200b\" rel=\"canonical\">MongoDB</a>. Thank you for supporting the partners who make SitePoint possible.</em></p>\n<p>You can build your online, operational workloads atop MongoDB and still respond to events in real time by kicking off <a href=\"https://aws.amazon.com/kinesis/\">Amazon Kinesis</a> stream processing actions, using MongoDB Stitch Triggers.</p>\n<p>Let\u2019s look at an example scenario in which a stream of data is being generated as a result of actions users take on a website. We\u2019ll durably store the data and simultaneously feed a Kinesis process to do streaming analytics on something like cart abandonment, product recommendations, or even credit card fraud detection.</p>\n<p>We\u2019ll do this by setting up a Stitch Trigger. When relevant data updates are made in MongoDB, the trigger will use a Stitch Function to call out to AWS Kinesis, as you can see in this architecture diagram:</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536043981image5-d4wtr8tn5c.png\" alt=\"\" width=\"1525\" height=\"844\" class=\"aligncenter size-full wp-image-168426\" /></p>\n<h4 id=\"whatyoullneedtofollowalong\">What you\u2019ll need to follow along</h4>\n<ol>\n<li><strong>An Atlas instance</strong> <br />\nIf you don\u2019t already have an application running on Atlas, you can follow our <a href=\"https://docs.atlas.mongodb.com/getting-started/\">getting started with Atlas guide here</a>. In this example, we\u2019ll be using a database called <em><strong>streamdata</strong></em>, with a collection called <em><strong>clickdata</strong></em> where we\u2019re writing data from our web-based e-commerce application.</li>\n<li><strong>An AWS account and a Kinesis stream</strong> <br />\nIn this example, we\u2019ll use a Kinesis stream to send data downstream to additional applications such as Kinesis Analytics. This is the stream we want to feed our updates into.</li>\n<li><strong>A Stitch application</strong> <br />\nIf you don\u2019t already have a Stitch application, <a href=\"https://cloud.mongodb.com/user#/atlas/login\">log into Atlas</a>, and click <strong>Stitch Apps</strong> from the navigation on the left, then click <strong>Create New Application</strong>.</li>\n</ol>\n<h3 id=\"createacollection\">Create a Collection</h3>\n<p>The first step is to create a database and collection from the Stitch application console. Click <strong>Rules</strong> from the left navigation menu and click the <strong>Add Collection</strong> button. Type <strong>streamdata</strong> for the database and <strong>clickdata</strong> for the collection name. Select the template labeled Users can <strong>only read and write their own data</strong> and provide a field name where we\u2019ll specify the user id.</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536044010image2-51q4gsi7u2.png\" alt=\"Figure 2. Create a collection\" width=\"1999\" height=\"923\" class=\"aligncenter size-full wp-image-168427\" /></p>\n<h3 id=\"configuringstitchtotalktoaws\">Configuring Stitch to Talk to AWS</h3>\n<p>Stitch lets you configure <em>Services</em> to interact with external <a href=\"https://docs.mongodb.com/stitch/reference/partner-services/amazon-service/\">services such as AWS Kinesis</a>. Choose <strong>Services</strong> from the navigation on the left, and click the <strong>Add a Service</strong> button, select the AWS service and set <strong>AWS <a href=\"https://aws.amazon.com/blogs/security/wheres-my-secret-access-key/\">Access Key ID, and Secret Access Key</a></strong>.</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536044038image8-2a9rr3qc4k.png\" alt=\"Figure 3. Service Configuration in Stitch\" width=\"1999\" height=\"1041\" class=\"aligncenter size-full wp-image-168428\" /></p>\n<p><em>Services</em> use <em>Rules</em> to specify what aspect of a service Stitch can use, and how. Add a rule which will enable that service to communicate with Kinesis by clicking the button labeled NEW RULE. Name the rule \u201ckinesis\u201d as we\u2019ll be using this specific rule to enable communication with AWS Kinesis. In the section marked Action, select the API labeled Kinesis and select All Actions.</p>\n<p><img src=\"https://www.sitepoint.com/wp-content/uploads/2018/09/1536044067image1-h45v2y48z7.gif\" alt=\"Figure 4. Add a rule to enable integration with Kinesis\" width=\"1424\" height=\"746\" class=\"aligncenter size-full wp-image-168429\" /></p>\n<h3 id=\"writeafunctionthatstreamsdocumentsintokinesis\">Write a Function that Streams Documents into Kinesis</h3>\n<p>Now that we have a working AWS service, we can use it to put records into a Kinesis stream. The way we do that in Stitch is with Functions. Let\u2019s set up a <em>putKinesisRecord</em> function.</p>\n<p>Select Functions from the left-hand menu, and click Create New Function. ProviLine truncated
|
||||
"protected": false
|
||||
},
|
||||
"author": 72676,
|
||||
"featured_media": 168458,
|
||||
"comment_status": "open",
|
||||
"ping_status": "closed",
|
||||
"sticky": false,
|
||||
"template": "",
|
||||
"format": "standard",
|
||||
"meta": [],
|
||||
"categories": [
|
||||
422
|
||||
],
|
||||
"tags": [
|
||||
9553,
|
||||
1599,
|
||||
6298
|
||||
],
|
||||
"_links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts/168397"
|
||||
}
|
||||
],
|
||||
"collection": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts"
|
||||
}
|
||||
],
|
||||
"about": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/types/post"
|
||||
}
|
||||
],
|
||||
"author": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/users/72676"
|
||||
}
|
||||
],
|
||||
"replies": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/comments?post=168397"
|
||||
}
|
||||
],
|
||||
"version-history": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts/168397/revisions"
|
||||
}
|
||||
],
|
||||
"wp:featuredmedia": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/media/168458"
|
||||
}
|
||||
],
|
||||
"wp:attachment": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/media?parent=168397"
|
||||
}
|
||||
],
|
||||
"wp:term": [
|
||||
{
|
||||
"taxonomy": "category",
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/categories?post=168397"
|
||||
},
|
||||
{
|
||||
"taxonomy": "post_tag",
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/tags?post=168397"
|
||||
}
|
||||
],
|
||||
"curies": [
|
||||
{
|
||||
"name": "wp",
|
||||
"href": "https://api.w.org/{rel}",
|
||||
"templated": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 167869,
|
||||
"date": "2018-09-05T09:30:47",
|
||||
"date_gmt": "2018-09-05T16:30:47",
|
||||
"guid": {
|
||||
"rendered": "https://www.sitepoint.com/?p=167869"
|
||||
},
|
||||
"modified": "2018-09-06T01:21:52",
|
||||
"modified_gmt": "2018-09-06T08:21:52",
|
||||
"slug": "how-to-set-up-a-secure-relational-database-on-alibaba-cloud",
|
||||
"status": "publish",
|
||||
"type": "post",
|
||||
"link": "https://www.sitepoint.com/how-to-set-up-a-secure-relational-database-on-alibaba-cloud/",
|
||||
"title": {
|
||||
"rendered": "How to Set up a Secure Relational Database on Alibaba Cloud"
|
||||
},
|
||||
"content": {
|
||||
"rendered": "<p><iframe width=\"900\" height=\"506\" src=\"https://www.youtube.com/embed/c9YzHtgsiKE\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe></p>\n<p class=\"wp-special\"><em>This article was originally published on <a href=\"https://resource.alibabacloud.com/webinar/live.htm?spm=a2c5p.11425181.0.0.4d913c86X8D869&webinarId=26\" rel=\"canonical\">Alibaba Cloud</a>. Thank you for supporting the partners who make SitePoint possible.</em></p>\n<p class=\"wp-special\"><strong>Think you got a better tip for making the best use of Alibaba Cloud services? Tell us about it and go in for your chance to win a Macbook Pro (plus other cool stuff). <a href=\"https://www.sitepoint.com/alibaba-competition\">Find out more here</a>.</strong></p>\n<p>Gain an introduction to ApsaraDB for RDS, a cloud-based relational database product provided by Alibaba Cloud. In this webinar you will watch over the shoulder of a Solution Architect and Trainer, as he covers the basic concepts and features of ApsaraDB for RDS including:</p>\n<ul>\n<li>HA feature (Master/Slave Architecture, Backup/Recovery, Temporary Instance)</li>\n<li>Scalability features (Read-only Instance)</li>\n<li>Security and Monitoring features</li>\n</ul>\n<p>This webinar is ideally suited for database engineers and beginners to the Alibaba Cloud product suite.</p>\n",
|
||||
"protected": false
|
||||
},
|
||||
"excerpt": {
|
||||
"rendered": "<p><iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/c9YzHtgsiKE\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe></p>\n<p class=\"wp-special\"><em>This article was originally published on <a href=\"https://resource.alibabacloud.com/webinar/live.htm?spm=a2c5p.11425181.0.0.4d913c86X8D869&webinarId=26\" rel=\"canonical\">Alibaba Cloud</a>. Thank you for supporting the partners who make SitePoint possible.</em></p>\n<p>Gain an introduction to ApsaraDB for RDS, a cloud-based relational database product provided by Alibaba Cloud. In this webinar you will watch over the shoulder of a Solution Architect and Trainer, as he covers the basic concepts and features of ApsaraDB for RDS including:</p>\n<ul>\n<li>HA feature (Master/Slave Architecture, Backup/Recovery, Temporary Instance)</li>\n<li>Scalability features (Read-only Instance)</li>\n<li>Security and Monitoring features</li>\n</ul>\n<p>This webinar is ideally suited for database engineers and beginners to the Alibaba Cloud product suite.</p>\n",
|
||||
"protected": false
|
||||
},
|
||||
"author": 72596,
|
||||
"featured_media": 167879,
|
||||
"comment_status": "open",
|
||||
"ping_status": "closed",
|
||||
"sticky": false,
|
||||
"template": "",
|
||||
"format": "standard",
|
||||
"meta": [],
|
||||
"categories": [
|
||||
1292,
|
||||
422
|
||||
],
|
||||
"tags": [
|
||||
11731,
|
||||
9553
|
||||
],
|
||||
"_links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts/167869"
|
||||
}
|
||||
],
|
||||
"collection": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts"
|
||||
}
|
||||
],
|
||||
"about": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/types/post"
|
||||
}
|
||||
],
|
||||
"author": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/users/72596"
|
||||
}
|
||||
],
|
||||
"replies": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/comments?post=167869"
|
||||
}
|
||||
],
|
||||
"version-history": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/posts/167869/revisions"
|
||||
}
|
||||
],
|
||||
"wp:featuredmedia": [
|
||||
{
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/media/167879"
|
||||
}
|
||||
],
|
||||
"wp:attachment": [
|
||||
{
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/media?parent=167869"
|
||||
}
|
||||
],
|
||||
"wp:term": [
|
||||
{
|
||||
"taxonomy": "category",
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/categories?post=167869"
|
||||
},
|
||||
{
|
||||
"taxonomy": "post_tag",
|
||||
"embeddable": true,
|
||||
"href": "https://www.sitepoint.com/wp-json/wp/v2/tags?post=167869"
|
||||
}
|
||||
],
|
||||
"curies": [
|
||||
{
|
||||
"name": "wp",
|
||||
"href": "https://api.w.org/{rel}",
|
||||
"templated": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user