Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gcp
gcp-bigdataml
Commits
e722de56
Commit
e722de56
authored
Apr 05, 2019
by
Federico Mestrone
Browse files
Fixed bug in Pubsub config
parent
4c4549a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
adtech-dataflow/src/main/resources/gcp.properties
View file @
e722de56
gcp.project-id
=
qwiklabs-gcp-
56c3e61809c73e4d
gcp.bucket
=
bucket-for-codemotion
gcp.project-id
=
qwiklabs-gcp-
2e5306bf1fe3f6e6
gcp.bucket
=
gcp-bigdata-bucket-1
gcp.dataflow.staging
=
dataflow/staging/
gcp.dataflow.temp
=
dataflow/temp/
gcp.pubsub.topic
=
ad-impressions
gcp.pubsub.subscription
=
ad-impressions
gcp.pubsub.subscription
=
ad-impressions
-df
streaming.write.folder
=
adtech/output/
streaming.read.file
=
adtech/train.csv
adtech-storage/src/main/java/gcp/cm/bigdata/adtech/IngesterMain.java
View file @
e722de56
...
...
@@ -128,6 +128,7 @@ public class IngesterMain {
Properties
props
=
new
Properties
();
props
.
load
(
HttpApiMain
.
class
.
getResourceAsStream
(
"/gcp.properties"
));
setConfig
(
props
);
PubsubHelper
.
setConfig
(
props
);
ObjectifyService
.
init
();
ObjectifyService
.
register
(
Impression
.
class
);
Ingester
ingester
=
mode
.
getIngester
();
...
...
adtech-storage/src/main/resources-filtered/hbase-site.xml
View file @
e722de56
...
...
@@ -15,4 +15,4 @@
<!--<name>google.bigtable.app.profile.id</name>-->
<!--<value>@gcp.bigtable-profile@</value>-->
<!--</property>-->
</configuration>
\ No newline at end of file
</configuration>
adtech-storage/src/main/resources/gcp.properties
View file @
e722de56
gcp.project-id
=
qwiklabs-gcp-
56c3e61809c73e4d
gcp.project-id
=
qwiklabs-gcp-
2e5306bf1fe3f6e6
gcp.topic-name
=
ad-impressions
gcp.bigtable-instance
=
instance-1
ingest.filename
=
~/test
.csv
gcp.bigtable-instance
=
gcp-bigdata
ingest.filename
=
/home/google2960924_student/train
.csv
ingest.mode
=
DIRECT
ingest.target
=
CLOUD_DATASTORE
ingest.style
=
FROM_FILE
\ No newline at end of file
ingest.target
=
CLOUD_PUBSUB
ingest.style
=
FROM_FILE
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment