Skip to content

Commit a08bf3e

Browse files
committed
add draft of vscode quickstart for cloud
1 parent 1e19d7b commit a08bf3e

File tree

9 files changed

+68
-0
lines changed

9 files changed

+68
-0
lines changed

vscode-ccloud-quickstart/README.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# VSCode Quickstart Steps (CC Version)
2+
3+
[Install Confluent for VS Code](https://docs.confluent.io/cloud/current/client-apps/vs-code-extension.html#cc-vscode-extension) for Confluent Cloud.
4+
5+
In the VS Code Activity Bar, click the Confluent icon.
6+
7+
![Activity Bar Selection](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru1.png)
8+
9+
If you have many extensions installed, you may need to click … to access Additional Views and select Confluent from the context menu.
10+
11+
![Activity Bar Selection via Additional Views](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru2.png)
12+
13+
In the Side Bar, click Connect to Confluent Cloud, and in the permission dialog, click Allow.
14+
15+
![Connect to Confluent Cloud](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru3.png)
16+
17+
![Allow opening in new window](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru4.png)
18+
19+
The web browser opens to the Confluent Cloud login page.
20+
21+
Enter your credentials and click Log in.
22+
23+
![Confluent Cloud Log In Page](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru5.png)
24+
25+
The web browser shows the Authentication Complete page. You can click "Open Visual Studio Code" if prompted, but for the purposes of this walkthrough, we will click "head to Confluent Cloud".
26+
27+
![Head to Confluent Cloud page](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru6.png)
28+
29+
Open the Confluent Cloud Console and [follow these steps](https://docs.confluent.io/cloud/current/get-started/index.html#section-1-create-a-cluster-and-add-a-topic) to create an environment.
30+
31+
Next, create a Basic Kafka cluster by following [these steps](https://docs.confluent.io/cloud/current/get-started/index.html#step-1-create-a-ak-cluster-in-ccloud).
32+
33+
Select Topics from the navigation menu in Confluent Cloud, then select Create topic with name `test-topic`.
34+
35+
Return to VS Code and confirm that your Confluent Cloud resources are displayed in the Side Bar.
36+
37+
Create the following file named message.json in your folder:
38+
39+
```json
40+
{
41+
"headers": [
42+
{
43+
"key": "sample.header",
44+
"value": "sample_header_value"
45+
}
46+
],
47+
"key": 1237,
48+
"value": {
49+
"ordertime": 1499986565014,
50+
"orderid": 1237,
51+
"itemid": "Customer Produce",
52+
"orderunits": 2.621748519463491,
53+
"address": {
54+
"city": "City_",
55+
"state": "State_",
56+
"zipcode": 79416
57+
}
58+
}
59+
}
60+
```
61+
62+
Click the produce button and select `message.json` from your files.
63+
64+
![Producing A Message](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru7.png)
65+
66+
Navigate to the topics resource tab, click ‘play’, and see your message coming into the VSCode message viewer!
67+
68+
![Viewing A Message](https://raw.githubusercontent.com/confluentinc/tutorials/master/vscode-ccloud-quickstart/img/walkthru7.png)
26.6 KB
Loading
57.5 KB
Loading
54.3 KB
Loading
142 KB
Loading
94.7 KB
Loading
189 KB
Loading
11.2 KB
Loading
11.4 KB
Loading

0 commit comments

Comments
 (0)