Skip to content

Commit 4aa3a5d

Browse files
committed
added Kotlin Neptune files
1 parent 6a88ead commit 4aa3a5d

File tree

1 file changed

+16
-26
lines changed

1 file changed

+16
-26
lines changed

kotlin/services/neptune/src/main/java/com/example/neptune/scenerio/NeptuneScenario.kt

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,36 +29,26 @@ var scanner = Scanner(System.`in`)
2929
private val pollInterval: Duration = Duration.ofSeconds(20)
3030
private val timeout: Duration = Duration.ofMinutes(30)
3131
suspend fun main(args: Array<String>) {
32-
val subnetGroupName = "neptuneSubnetGroup61"
33-
val clusterName = "neptuneCluster61"
34-
val dbInstanceId = "neptuneDB61"
32+
val subnetGroupName = "neptuneSubnetGroup200"
33+
val clusterName = "neptuneCluster200"
34+
val dbInstanceId = "neptuneDB200"
3535

3636
println(
3737
"""
38-
Amazon Neptune is a fully managed graph
39-
database service by AWS, designed specifically
40-
for handling complex relationships and connected
41-
datasets at scale. It supports two popular graph models:
42-
property graphs (via openCypher and Gremlin) and RDF
43-
graphs (via SPARQL). This makes Neptune ideal for
44-
use cases such as knowledge graphs, fraud detection,
45-
social networking, recommendation engines, and
46-
network management, where relationships between
47-
entities are central to the data.
38+
Amazon Neptune is a fully managed AWS graph database optimized for complex, connected datasets.
39+
It supports property graphs (Gremlin, openCypher)
40+
and RDF graphs (SPARQL), making it ideal for knowledge
41+
graphs, fraud detection, social networks,
42+
recommendations, and network management.
43+
44+
Neptune handles provisioning, patching, backups, a
45+
nd replication, offering high availability by default
46+
.
47+
Developers can build relationship-aware apps using the
48+
AWS SDK for Kotlin and automate infrastructure with
49+
NeptuneClient.
4850
49-
Being fully managed, Neptune handles database
50-
provisioning, patching, backups, and replication,
51-
while also offering high availability and durability
52-
within AWS's infrastructure.
53-
54-
For developers, programming with Neptune allows
55-
for building intelligent, relationship-aware
56-
applications that go beyond traditional tabular
57-
databases. Developers can use the AWS SDK for Kotlin
58-
to automate infrastructure operations
59-
(via NeptuneClient).
60-
61-
Let's get started...
51+
Let's get started...
6252
6353
"""
6454
)

0 commit comments

Comments
 (0)